Execute VBA Macro via C# Interop?
- by Jon Artus
Hi all, just wondering if anyone could suggest why I might be getting an error? I'm currently trying to execute a macro in a workbook by calling the Application.Run method that the interop exposes.
It's currently throwing the following COM Exception:
{System.Runtime.InteropServices.COMException (0x800A03EC): Cannot run the macro Macro1'.
The…