Discussion Locked
Exception while calling the macro of excel sheet from asp.net
0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
hi
i am calling MAcro from web application but it is throwing exception that
Message "Programmatic access to Visual Basic Project is not trusted\n"
at the line
module = wb.VBProject.VBComponents.Add(VBIDE.vbext_ComponentType.vbext_ct_StdModule);