Exception while calling the macro of excel sheet from asp.net - TechRepublic
General discussion
June 22, 2006 at 03:27 AM
sakhare

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

by sakhare . Updated 20 years ago

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 discussion is locked

All Comments