How to Edit Macro-Enabled Excel Workbooks on Mac and iPad
Question details
The user needs to edit macro-enabled Excel workbooks on macOS or iOS, but the files appear protected or the macros fail to run, unlike on Windows.

- Product
- Microsoft Excel
- Device & OS
- macOS, iOS
- Scenario
- Attempting to run or edit a macro-enabled workbook (.xlsm) on Apple devices (Mac, iPad, or iPhone).
- Observed behavior
- The workbook functions normally on Windows but fails to work, disables macros, or appears protected when opened on Mac or iPad.
Verify your current device and operating system, as VBA macros are not supported on iOS devices (iPad and iPhone) and have limited support for certain controls on macOS.
Open the Workbook on a Supported Desktop Platform
Since iOS does not support VBA macros, you must use a desktop version of Excel to run them.
Microsoft Excel for iPhone and iPad does not include the VBA engine required to run macros. To utilize macro functionality, the file must be accessed on a compatible desktop operating system.
If you are currently using an iPad or iPhone, transfer the macro-enabled workbook (.xlsm) to a desktop computer.
Launch Excel for Windows or Excel for Mac and open the transferred workbook.
Click 'Enable Content' or 'Enable Macros' when prompted by the security warning at the top of the screen to allow the VBA code to run.

Troubleshoot ActiveX and Sheet Protection on macOS
If macros fail on Mac, check for unsupported ActiveX controls or sheet protection settings.
Use WPS Office for Your Spreadsheet Needs
If you frequently encounter compatibility issues with complex Excel files across different devices, try WPS Office. It is a free, lightweight, and highly compatible alternative that offers a familiar interface and seamless migration for your daily spreadsheet tasks.
- 1. Download WPS Office: Visit the official WPS website and download the installation package for your operating system.
- 2. Install the software: Follow the on-screen instructions to install WPS Office and launch the WPS Spreadsheet application.
- 3. Open your files: Open your existing Excel files to experience highly compatible and seamless spreadsheet editing.

Frequently Asked Questions
Can I run VBA macros on Excel for iPad or iPhone?
No, Microsoft Excel for iOS (iPad and iPhone) does not support VBA macros. You can view the data in macro-enabled workbooks, but the macros will not run. You must use a Windows or Mac computer to execute them.
Why do ActiveX controls in my Excel file not work on a Mac?
ActiveX is a proprietary Microsoft Windows technology. Consequently, ActiveX controls like form buttons or dropdown lists are not supported in Excel for Mac. Workbooks relying on ActiveX must be used on a Windows PC.
How can I fix a workbook that appears protected only on my Mac?
If a workbook behaves as if it is protected on a Mac but not on Windows, it is likely due to an incompatible macro failing to run and leaving the sheet locked. Check the 'Review' tab to verify protection status, or consult the workbook author to ensure the VBA code is Mac-compatible.




