VBA & Macro Problems

Why Word VBA Macros Do Not Run on Android or iPad

Adam DavisAdam Davis Nov 20, 2026 869 views

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.

Why Word VBA Macros Do Not Run on Android or iPad
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the macro-enabled document

On a Windows PC or Mac, open desktop Word and select File > Open to open the .docm document.

2
Allow trusted macros

If Word displays a security warning, enable macros only after confirming that you trust the document and its source.

3
Run the macro

In desktop Word, open the Macros dialog from the View or Developer tab, select the macro, and choose Run.

Run the VBA macro in desktop Word
Keep the macro-enabled format: Saving the document as .docx does not preserve its VBA macros. Use a macro-enabled format such as .docm if you need to retain them.
Free Microsoft Office alternative

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.

Edit everyday documents without relying on VBA macrosOpen and save common Microsoft Word formats, including DOC and DOCXUse familiar document-editing controls for an easier transitionWork with a free, lightweight office suite
microsoft office alternative - wps office

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.