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 / September 2007

Tip: Looking for answers? Try searching our database.

Form Button

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
andrewbt - 03 Sep 2007 11:30 GMT
Hello all, im having a little problem running a macro for e-mail automation
on a word document.  When creating sheets in excel i used the option button
on the forms panel.  In my version of word (2003), i can't find the form
button, only the controls 'command button'.  I have assigned the 'Sub' code
for my macro to the command button but don't know how to get it to work.  
Previously in excel i created the form button, right clicked and 'Assigned
macro'.  Can anyone please tell me if the option on the forms toolbar does
exist? If not then how do i make it work on a Controls command button? Can
provide more detail if required.  Thanks in advance

Andrewbt
Helmut Weber - 03 Sep 2007 15:49 GMT
Hi Andrew,

>In my version of word (2003), i can't find the form
>button, only the controls 'command button'.  I have assigned the 'Sub' code
>for my macro to the command button but don't know how to get it to work.

How did you do that?

I don't know of a way to assign a macro to an
OLEControl of ClassType:="Forms.CommandButton.1"

In design mode, right click, view code ...

Signature

Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"

 
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.