I want to execute a mvba function from c#.
I can run the macro once the module is loaded but need to know how to load the module.
I tried macro open "E:\ExportDGN\VBA\ExportToCAD.mvba"
and macro open E:\ExportDGN\VBA\ExportToCAD.mvba
but it comes up with;
Compilation failed at line 1
Syntax error