Author Topic: VBA in a button?  (Read 1255 times)

0 Members and 1 Guest are viewing this topic.

t-bear

  • Guest
VBA in a button?
« on: December 28, 2004, 04:00:30 PM »
Hi fellas....merry Christmas and all that jazz.
I have a feller here working to create a VBA routine which will insert information into ACAD from our data base.  He seems to have the routine working but wants to run it from a tool button in ACAD.  I'm a bit confused here;  What's the syntax for running a VBA routine from a button?
Any help greatly appreciated!

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16717
  • Superior Stupidity at its best
VBA in a button?
« Reply #1 on: December 28, 2004, 04:20:00 PM »
Try this....

Code: [Select]

-vbarun FileName.dvb!Module.SubRoutine
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal