logo
search
VBA & Macro Problems

Fix Excel VBA Workbook Not Opening on Android App

Bushra ParveenBushra Parveen Sep 27, 2026 869 views

Question details

The user has an Excel workbook with VBA macros (.xlsm) that works perfectly on a desktop computer but fails to open or run in the Excel app on Android devices.

How to Fix Excel VBA Workbook Opening on PC but Not on Android
Product
Microsoft Excel
Device & OS
Windows/Mac (Desktop), Android
Scenario
Trying to open or use a macro-enabled Excel workbook (.xlsm) on an Android mobile device.
Observed behavior
The file fails to open or execute on the Android device, even though it functions normally on a desktop PC.
Before you start

Ensure you have the latest version of your mobile spreadsheet app installed and verify if a copy of the workbook opens on your phone before any VBA code is attached.

Solution 1Recommended

Create a Mobile-Compatible Version Without VBA

Since VBA macros are not supported on mobile devices, removing VBA functionality and using standard formulas is the best way to ensure the file opens on Android.

Mobile versions of spreadsheet applications do not include the underlying framework required to compile or execute Visual Basic for Applications (VBA) code. To use the workbook on Android, you must provide a macro-free version.

1
Open the original file on PC

Launch the original .xlsm workbook on your desktop PC using Microsoft Excel.

2
Replace macros with formulas

Review your VBA macros to determine if their functions can be replaced by standard Excel formulas (such as IF, VLOOKUP) or Data Validation rules.

3
Save as a macro-free format

Go to 'File' > 'Save As', select your desired folder, and choose 'Excel Workbook (*.xlsx)' from the 'Save as type' dropdown menu.

4
Transfer and test on Android

Transfer this new .xlsx file to your Android device via email or cloud storage, then open it in your mobile spreadsheet app.

Create a Mobile-Compatible Version Without VBA
Platform Limitation: VBA runs exclusively on desktop versions of Office for Windows and Mac. It is natively unsupported on Android, iOS, or web browsers.
Free Microsoft Office alternative

Try WPS Office for Seamless Cross-Platform Spreadsheet Viewing

While VBA macros are restricted on mobile operating systems across all apps, WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office. It ensures your standard spreadsheets, complex formulas, and data formatting display perfectly across PC, Android, and iOS devices without lag.

  1. 1. Download the app: Go to the official WPS Office website or search for 'WPS Office' in the Google Play Store on your Android device.
  2. 2. Install WPS Office: Tap 'Install' to download the free, lightweight suite to your mobile device.
  3. 3. Open your spreadsheets: Launch WPS Office and tap on your transferred .xlsx files for a seamless, mobile-optimized viewing and editing experience.
Highly compatible with Microsoft Excel formats including .xlsx, .xlsm, and .csv.Lightweight mobile app that won't drain your Android device's battery or storage.Familiar user interface makes switching from Microsoft Office easy and seamless.Cross-platform support for Windows, Mac, Android, iOS, and Linux.
microsoft office alternative - wps office

Frequently Asked Questions

Why do VBA macros work on Windows but not on Android?

VBA (Visual Basic for Applications) heavily relies on the Windows or macOS desktop system architecture and COM components to execute. Mobile operating systems like Android and iOS simply do not possess the underlying framework required to compile or run VBA scripts.

Can I run Excel macros on an Android tablet?

No, the Microsoft Excel app for Android tablets does not support VBA macros. To execute macros on a tablet-like device, you would need a Windows-based tablet (such as a Surface Pro) running the full desktop version of Microsoft Office.

How do I save an Excel file without macros?

Open your .xlsm file on a desktop computer, click 'File' > 'Save As', and select 'Excel Workbook (*.xlsx)' from the format dropdown. This action automatically strips all VBA code from the file, resulting in a standard, mobile-friendly spreadsheet.

Are there any mobile spreadsheet apps that support VBA?

Currently, no native mobile spreadsheet apps for iOS or Android support VBA execution due to OS-level restrictions. Alternative scripting languages like Google Apps Script or Office Scripts are sometimes used for web and mobile automation, but traditional VBA remains desktop-only.