Forum Discussion
Aditya Shanker Verma
Mar 28, 2018Copper Contributor
Errors occurred during load while opening a macro
I am using office 365, When I open a Macro enabled excel sheet through an windows .net application it throws an error Microsoft Visual Basic "error occurred during load". Then will display error: Can...
Mar 28, 2018
Hello,
have you checked whether your .net application is capable of opening macro-enabled files in the first place? Maybe it does not have that functionality. I'm guessing here, but there could be many issues. If the workbook has events that run when the file is opened, then that code will try to run. Does your .net app allow code execution? Is the macro enabled file known to the .net app as a trusted file?