I have a custom Tab I have created. How can I use VBA to change the attributes of the controls on the tab. For example, I would like to change the label of a button with id="menubutton" depending on user seelctions in the program. It seems to me that it should be easy but I am struggling with this. Any help would be greatly appreciated.
A:
Can you do this yourself (eg with the mouse and keyboard) in Word via the customise toolbars context menus?
- If so then switch on the macro recorder.
- Perform the action (eg use the keyboard and mouse to change the attributes you wish to ).
- Stop the macro recorder.
- Open up the VBA studio in Word and take a look at the macro that has been created, that should give you a good indication of what you need to do.
Toby Allen
2010-07-16 20:30:25