Manila Wolf Posted October 21, 2011 Posted October 21, 2011 I have a lisp (attached) to open and close a VBA routine. I know very little about lisp or VBA. Once I have fully run the code, I am left with an Autocad dialog box (attached) asking me to click either, yes, no or cancel. What I would like is for an addition to the code to automatically close the dialog box by clicking no. Thanks in advance for any help. RLTS.lsp Quote
Manila Wolf Posted October 21, 2011 Author Posted October 21, 2011 Hi Gp. The lisp just loads the macro within the dvb file, then unloads the macro after it has run. I have the lisp set to autoload on demand. The reason I want to automate clicking the "no", is that I think that if the dialog box is showing and I switch to another open AutoCAD session before I have closed the dialog box, the drawing with the macro sometimes hangs. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.