Running a VBA application in Excel 2007

R

Robert Bradley

I get an error running a VBA application (saved as an xls file) in Excel 2007
on my office machine.
I can run this file OK on other Excel 2007 installations so I guess it’s a
settings issue on my office machine.

The error I get is as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <recoveryLog
xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<logFileName>error018881_01.xml</logFileName>
<summary>Errors were detected in file 'C:\Documents and
Settings\RB\Desktop\REPAIRED WINPLAN.XLS'</summary>
- <additionalInfo>
<info>This workbook has lost its VBA project, ActiveX controls and any
other programmability-related features.</info>
</additionalInfo>
</recoveryLog>


The file in question is called "REPAIRED WINPLAN.XLS'

I am a non teckkie but hope I can resolve this by changing my Excel
settings. Can anyone help please?

Robert Bradley
 
G

GuruGirl

VBA is slightly different in Excel 2007, not sure if you are running into a
code compatibility error, see if you can run a compiler check from the
Module, project view. You will see where the error occurs if this is the
case.

Also note that Excel 2007 differentiates between macro enabled file (.xlsm)
and non-macro enabled files (.xlsx). You can try saving your 2003 format
file as an (.xlsm) file and see if it converts successfully to 2007, then run
your macro.

other than that, not sure. Good luck.
 
G

GuruGirl

Note: If your .xls file is converting to .xlsx, you will lose access to your
macro functions. If you first save your .xls file as .xlsm (macro enabled)
you should not lose your macro. if you save your .xlsx file as .xlsm, then
you should be able to recover access and functionality of your macro.

All is not lost.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top