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