Fix Excel VBA Macros Not Running Through Remote Desktop on iPad
Question details
Find out why Excel VBA macros do not run when a Windows PC is controlled through Microsoft Remote Desktop on an iPad.

- Product
- Microsoft Excel and Microsoft Remote Desktop
- Device & OS
- iPad running iOS and a Windows PC
- Scenario
- A user runs an Excel workbook on a Windows PC while controlling it remotely from an iPad.
- Observed behavior
- The macros work locally and through a Windows Remote Desktop client, but fail when the same PC is accessed from the iPad.
Identify the macro and the action used to start it, and note any error message or unexpected behavior. Confirm that you are using desktop Excel on the remote Windows PC rather than an Excel app on the iPad.
Compare the Macro Across Local and Remote Sessions
Use the same workbook and macro in each session to check whether the issue is specific to the iPad remote client.
Open the workbook in desktop Excel on the Windows PC and run the macro using its usual button, shortcut, or the Developer > Macros menu. Record the result and any message.
Connect to the same PC through Remote Desktop from another Windows computer, open the same workbook, and repeat the same macro action.
Connect to the PC using Microsoft Remote Desktop on the iPad and repeat the same action in Excel. Note whether the macro fails to start, displays an error, or behaves differently.
Compare the results from all three tests. If only the iPad session fails, record how you triggered the macro and any differences in the remote session for further troubleshooting.

Ask Microsoft for Remote Desktop Client Support
Use this route when the macro works locally and from Windows but fails through the iPad client.
Work With Excel Files in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar spreadsheet interface and compatibility with common Excel formats, making it easier to move everyday workbook work between suites. It does not fix Microsoft Remote Desktop or guarantee compatibility with Excel VBA macros.

Frequently Asked Questions
Does the macro run on the iPad or on the Windows PC?
When you use Remote Desktop to control desktop Excel, the macro runs in Excel on the remote Windows PC. The iPad client sends input and displays the remote session.
What should I check if the macro fails from every device?
Test it directly on the Windows PC using Excel's Developer > Macros menu or its usual control. Record any error message and check the workbook's macro security and trusted-source status before investigating the remote client.
Which details should I include in a Remote Desktop support question?
Include the iOS or iPadOS version, Remote Desktop client version, Windows version, Excel build, exact macro launch steps, and results from local, Windows-client, and iPad-client tests.
Can WPS Office fix this Remote Desktop macro issue?
No. The reported issue concerns Microsoft Excel or its remote session. WPS Office can be an alternative for everyday spreadsheet work, but Excel VBA macro compatibility is not guaranteed.




