
The following list contains some of the built-in add-ins that are unavailable:Īll other add-ins, including Report Manager and add-ins from third-party vendors If you open an uncompiled add-in, you receive the same warning as when you open a file that contains a regular VBA Project. The Excel object model is still available to other programs however, other programs will not be able to automate Excel to use these programmability objects.Īn uncompiled add-in is an add-in file that was created by using VBA. If you click OK, Excel opens the file in read-only mode to ensure that the programmability components are not accidentally lost. You can then select Disable VBA macros with notification or Enable all macros (not recommended potentially dangerous code can run).This workbook has lost its VBA Project, ActiveX Controls and any other programmability-related features. To change macro settings to allow you to run XLM macros, do the following:Ĭlick the File tab, and then click Options.Ĭlick Trust Center, and then click Trust Center Settings.Ĭlick Macro Settings, and then select the Enable Excel 4.0 macros when VBA macros are enabled check box. For more information about enabling macros, click Help." To run macros, you need to reopen this workbook, and then choose to enable macros. "Because of your security settings, macros have been disabled. When you open an XLM macro in Excel with macros disabled, Excel displays the following message: If you decide you’re not ready to migrate, you can still run Excel 4.0 macros.

In addition, performance improvements for Page Setup operations in VBA have been added to provide similar performance to PAGE.SETUP() functionality in XLM macros.

To make this easier for you, some new objects, methods, and properties have been added to the object model for the few remaining functions that did not have equivalents in earlier versions of VBA. Migrating your macros lets you take advantage of the improvements to the VBA programming object model.

LessĪlthough Microsoft Excel still supports Excel 4.0 (XLM) macros, we encourage you to migrate them to the latest version of Microsoft Visual Basic for Applications (VBA). Excel for Microsoft 365 Excel 2021 Excel 2019 Excel 2016 Excel 2013 Excel 2010 More.
