Below code shows the procedure to load and run a VBA macro through .NET command. Here AutoCAD ActiveX API LoadDVB & RunMacro is used. As the code uses dynamic keyword, to use this code no need to refer the AutoCAD ActiveX (interop) references.
[CommandMethod("LoadRunVBAcOMMAND")] public static void LoadDVBFile() { dynamic acadApplication = Application.AcadApplication; acadApplication.LoadDVB(@"C:\cases\area.dvb"); acadApplication.RunMacro("mytest"); }