Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2006

Tip: Looking for answers? Try searching our database.

Launch VBA form from toolbay buttom

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Santos P - 09 Feb 2006 16:45 GMT
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?
Jonathan West - 09 Feb 2006 16:57 GMT
>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.

Signature

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 

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.