Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I finally figured out how to creat a contol box in word, but how do you
assign a macro to it. I have created the macro and it works, but i cant get it assigned to the button. |
#2
![]() |
|||
|
|||
![]()
Hi ?B?Sm9obg==?=,
I finally figured out how to creat a contol box in word, but how do you assign a macro to it. I have created the macro and it works, but i cant get it assigned to the button. You've inserted something from the CONTROLS TOOLBOX? Then double-click the control in the Word document to open the code page. You'll see that it's in the ThisDocument module of the current module. If the default event action is what you want, simply copy the code you have between Sub and End Sub into this Sub...End Sub. If you want a different action, go to the list at the top-right of the code window, drop it down, and choose the event you need, then copy the code into that Sub...End Sub, instead. Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I divide a page into three sections? | Microsoft Word Help | |||
formatting links from excel into word (extra line feeds) | Microsoft Word Help | |||
saving the workspace | Microsoft Word Help | |||
Word 2003 - create a macro with a pause in it. | Microsoft Word Help | |||
Acrobat writer 5.0 Compatibility with word 2003 | Microsoft Word Help |