Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word toolbar button states are preserved across docs

Status
Not open for further replies.

rsouthon

Programmer
Nov 14, 2002
10
CA
I've created a toolbar using Word VBA that's created when Word is launched (using standard methods). The problem is that when I set the up/down state of a button for the current document, the button state in every document is changed: ActiveDocument.CommandBars("MyToolbar").Controls("MyButton").State = msoButtonDown. This is giving me huge performance problems because each open document updates my toolbar in each doc! Words default toolbars don't have this problem. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top