tags:

views:

8

answers:

1

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?

  1. If so then switch on the macro recorder.
  2. Perform the action (eg use the keyboard and mouse to change the attributes you wish to ).
  3. Stop the macro recorder.
  4. 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