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"