TheSwamp

Code Red => VB(A) => Topic started by: Murphy on September 06, 2006, 12:39:49 PM

Title: VBA Macros and Toolbars
Post by: Murphy on September 06, 2006, 12:39:49 PM
I have just been upgraded to 2006 and now my .mnl files will not work when I try to call a VBA macro.
I posted here because anyone that just works with Lisp may not know the fix.

MNL syntax:
Code: [Select]
(defun c:PICKME(/)
       (command "vbastmt" "PickMe"))

When I hit the toolbar button I get 'Syntax Error' in the text window.
Has anyone else encountered this and, if so, how did you fix it?
Title: Re: VBA Macros and Toolbars
Post by: Murphy on September 06, 2006, 12:59:24 PM
Instead of deleting this I will post what I found out.

I quit out of Autocad and went back into it.
Everything works fine now.

Rassin, frassin, Autocad!!!