VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding a buttom to a tool bar that triggers a VB code.

1 REPLY 1
Reply
Message 1 of 2
RalphBrown99
334 Views, 1 Reply

Adding a buttom to a tool bar that triggers a VB code.

Hi:

 

I have a couple of VB pieces of code that set up the standards of my company. What I want to do create a buttom in my Workspace -within a tab created by me with the CUI tools- and trigger my VB code.

 

 

How is possible to create this buttom that is connected with my code and displayed in my workspace?

 

Thanks in advance

 

 

 

Rafael

1 REPLY 1
Message 2 of 2

Hi,

 

you can use the command _VBARUN (>>>details<<<) (also within a lisp-statement) and use that within your menu-macros.

 

HTH, - alfred -

 

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost