When I try to run a macro in Excel from Easymorph I got this error.
Exception calling “Run” with “1” argument(s): “Exception from HRESULT: 0x800A9C68”.
But two things about it.
Nr 1: 2 days ago it worked totally fine, and today it’s not working; and I haven’t touched the EM project nor the macro in excel.
Nr 2: If I run the macro like: I open excel ad run macro it has no issue at all.
Can anyone help me? It’s super annoying because I run this with the Launcher, and now I have to interact with this.
I mean, when the workflow failed, did the macro do what it was intended to do before the workflow failed? In other words, which was the case (from below)?
The macro worked, but the action “Excel command” failed.
The macro didn’t work and the action “Excel command” failed.
Also, is the spreadsheet that the macro interacts with still open (e.g. in Excel)?
The error probably appears because the “Excel command” tries to close the spreadsheet too quickly.
Try moving the “Excel command” into a separate module, then call the module using the “Call” action in the mode “Collect errors and continue”. In this case, the error will be ignored and the workflow won’t fail.
I have an excel file. I have a macro in it which I’d like run from Easymorph.
The macro WORKS!, It’s running if I open the excel file and click on run.
BUT when I try to run it from EasyMorph it’s not running, BUT it DID run last Monday.