Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2006

Tip: Looking for answers? Try searching our database.

refreshing toolbar

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Bishop - 16 Feb 2006 20:01 GMT
Some of my VBA code is triggered by a button on the toolbar.  The user is
expected to create a new document from a template that includes the button.  
The trouble is, the button does not become visible until the user switches to
another document and back, which presumably repaints the toolbar.  Is it
possible to avoid requiring this workaround by the user?  How can I
explicitly refresh the toolbar so as to make the button appear?
Signature

Paul Bishop

Cindy M  -WordMVP- - 28 Feb 2006 18:13 GMT
Hi =?Utf-8?B?UGF1bCBCaXNob3A=?=,

> Some of my VBA code is triggered by a button on the toolbar.  The user is
> expected to create a new document from a template that includes the button.  
> The trouble is, the button does not become visible until the user switches to
> another document and back, which presumably repaints the toolbar.  Is it
> possible to avoid requiring this workaround by the user?  How can I
> explicitly refresh the toolbar so as to make the button appear?

First time I can ever remembering hearing something like that... That a toolbar
needs to explicitly be shown (View/Toolbars), yes. But switching back and forth?
Hmmm.

Is it possible that the user has once had a toolbar of this name in their
Normal.dot? Sometimes, Word does odd things if things were created then deleted
in Normal.dot, and the same caption crops up again in another document or
template.

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 :-)

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.