General discussion


Exception while calling the macro of excel sheet from

By sakhare ·
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);

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums