General discussion

Locked

Exception while calling the macro of excel sheet from asp.net

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

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums