Launch VBA form from toolbay buttom

S

Santos P

I have made a VBA program & exported it out to a .frm. Is there a way to
create a toolbar button to run the .frm which in turn would run the code in
the background?
 
J

Jonathan West

Santos P said:
I have made a VBA program & exported it out to a .frm. Is there a way to
create a toolbar button to run the .frm which in turn would run the code
in
the background?

No. The form would have to be in a template or add-in, and called from a
macro. The OnAction property of a button specifies which macro is run.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top