It can be done via COM Interop. The AcadApplication object has all of the
methods you'll need to load and run VBA macros. However, there isn't any
direct way to pass data between your .NET app and VBA.
--
Bobby C. Jones
wrote in message news:5174057@discussion.autodesk.com...
Can a VBA routine (macro) be called from win .NET - does it really make
sence to attmpt it. I have an app written in VBA, I want to use the code in
a new app that calls the vba routines already written. Rather than
converting all the vba commands to new "autocad command" it seems quicker to
deployment to use whats written and call the vba functions as need. Rather
than converting them to .NET Autocad Command and then writting the code to
call the commands. Does this make sense? 🙂