saving macro xls file

Public Schedule Face-to-Face & Virtual Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Saving Macro in .xls file extension

Saving Macro in .xls file extension

resolvedResolved · Low Priority · Version 2003

Herman has attended:
Excel VBA Introduction course

Saving Macro in .xls file extension

When I save the Excel in .xls, the macro I wrote is gone. Thus, I have to save it as .xlsm.

Can I know how to save the macro in .xls without saving it as .xlsm?

RE: Saving Macro in .xls file extension

Hi Herman, thanks for your query. The .xlsm file format was introduced by Microsoft in Excel 2007 to prevent macros accompanying standard .xls files and causing security risks. However, if you Save As the file in the 97-2003 file format you should find the macro remains intact.

If you need to access the macro but still keep Excel 2007 features intact, save it into the .xlsb file format.

Hope this helps,

Anthony

Thu 15 Sep 2011: Automatically marked as resolved.


 

Excel tip:

Closing Multiple Workbooks quickly

When you have several workbooks open in Excel and want to just close them all at once:

1) Hold down the SHIFT key before selecting the File menu.

2) Once in File menu release SHIFT key and select Close All option.

3) All your files will close. If files require saving Excel will ask if you want to save the changes.

View all Excel hints and tips


Server loaded in 0.07 secs.

✓ w3speedster