Jump to content

Need help to run macro


Recommended Posts

Posted

Hi, I need help to run macro whith button, the macro name is CARCH.DVB the macro was in the folder c:autocad2007\macro\carch.dvb. The macro a userfrom and in module1 I have a sub whit say show userform1. The macro was load in autocad and I try to use command -vbarun but i does'nt work autocad say macro not found.

 

 

Thanks

Posted

Did you load macro into Autocad?

Open VBA and check if macro is present. Try to run macro from inside VBA.

Posted

Yes it'S load.

But when i try to run I can i don't see it. to run my userfom I have to go in vb editor and push the run buttton. I just work in one drawing.

Posted

Looks like you need to add it to startup suite, and make sure it is in search path of Autocad.

And if you use it frequently make button to run it.

Posted

Maybe this will help

 

(defun C:toolkit ()
(vl-vbaload "S:/AutoDESK/VBA/Design Toolkit.dvb") 
(vl-vbarun "ToolKit")
)

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...