Why Word VBA Macros Do Not Run on Android or iPad
Question details
The user wants to know why VBA macros in a Word document do not run on Android or iPad and how to run them.

- Product
- Microsoft Word
- Device & OS
- Android, iPadOS, and web
- Scenario
- Opening a macro-enabled Word document on a mobile device or in Word for the web.
- Observed behavior
- The document can retain its VBA macros, but Word for Android, iPad, and the web cannot execute them.
Check that the document is saved in a macro-enabled format such as .docm and that you have access to desktop Word on a Windows PC or Mac. Only enable macros in documents from sources you trust.
Run the VBA macro in desktop Word
Use Word for Windows or Mac when you need to execute VBA code in a document.
Word for Android, iPad, and the web can retain macros in a macro-enabled document, but they cannot run VBA code. Some macros may depend on Windows-specific features and require Word for Windows.
On a Windows PC or Mac, open desktop Word and select File > Open to open the .docm document.
If Word displays a security warning, enable macros only after confirming that you trust the document and its source.
In desktop Word, open the Macros dialog from the View or Developer tab, select the macro, and choose Run.

Edit Word Documents with WPS Office
WPS Office is a free, lightweight alternative for editing documents with a familiar interface and Microsoft Office format compatibility, making it easy to move everyday work between apps. It does not make VBA macros run in mobile Word.

Frequently Asked Questions
Can I enable VBA macros in Word for iPad or Android?
No. Word for iPad and Android cannot execute traditional VBA macros, so there is no mobile setting that enables them. Open the document in desktop Word for Windows or Mac to run the macro.
Does Word for the web run VBA macros?
No. Word for the web can retain macros in a macro-enabled document, but it cannot run them. Open the file in the desktop Word application to execute VBA code.
Will saving my document as DOCX keep its macros?
No. The DOCX format does not preserve VBA macros. In desktop Word, use File > Save As and choose a macro-enabled format such as .docm to retain them.
What can I do if I need the same workflow on a mobile device?
Redesign the workflow using features supported by the mobile app, or perform the macro-dependent task in desktop Word. You can also submit a feature request through Word's feedback options.




