If I am correct, once you are running a lisp program you are stock in it.
So if you use VBA, you can declare public variable that can be change by the COM object you will call. So you will be replacing the lisp call with a createobject() command in VBA.
Let me know what the result of your finding.
>Yep, AutoCad does have VBA. I'm not using it though. I'm doing all the calling of the VB DLL from lisp. Wouldn't I have to call from VBA to declare a public var?
>
>Just for fun, here is the lisp code:
>
>
(setq oBM (vlax-create-object "BasinMaker.BM_Application"))
>(vlax-invoke-method oBM "ShowFormWiz")
>(vlax-release-object oBM)
>(setq oBM nil)
>
>Pretty goofy looking, huh?