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
 
Top