

Therefore, if you add a macro to a standard Excel Workbook, and want to be able to run this macro whenever you access the workbook, you will have to save it with the xlsm extension. Excel recognises macro-enabled workbooks from the file extension xlsm (rather than the usual xlsx for Excel 20 files). If you want to run macros in Excel 2007 or Excel 2010, you need to save your Excel file as a macro-enabled workbook. Select one of the security levels and click OK.In order to view or alter the Macro Security Setting in Excel 2003: Therefore, if you want to run a macro in Excel 2003, the Excel Macro Security Setting needs to be set to Low or Medium. When you open a new Excel workbook, you are not alerted to the fact that it contains macros and may not be aware of macros running while you have the file open. If there are macros in a workbook, this setting causes a popup to be displayed as the workbook is being opened, asking if you wish to allow macros to be run or not. When you open a new Excel workbook, you are not alerted to the fact that it contains macros, so you may not be aware that this is the reason a workbook does not work as expected.

These 2 settings only allow macros from trusted sources to run. In Microsoft Office 2003, there are 4 levels of Excel macro security, which are controlled by options in the Excel menu. Excel macro security protects your computer against viruses that may be passed to your computer via programming in Excel Macros.
