Author Topic: VBA Macros and Toolbars  (Read 1891 times)

0 Members and 1 Guest are viewing this topic.

Murphy

  • Guest
VBA Macros and Toolbars
« 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?

Murphy

  • Guest
Re: VBA Macros and Toolbars
« Reply #1 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!!!