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?

Re: Launch VBA form from toolbay buttom by Jonathan

Jonathan
Thu Feb 09 10:57:48 CST 2006


"Santos P" <Santos P@discussions.microsoft.com> wrote in message
news:65B3D497-37DF-404A-A167-04BAD791AD17@microsoft.com...
>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