I have a 3rd party app that when installed will add its own icon to the MS 2003 Word toolbar. They do not provide a way to prevent this icon being added. I know I can address thsi with a Macro but I wanted a different way. Do any of you have a VBScript that will remove an icon from the MS Word toolbar?

Thank you.
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Toolbar customisations are held in a template. If they're futzing with NORMAL.DOT, the default template, they need some serious education.

Once you've done that, it should be simple enough to record the removal as a Word macro and adapt the code to VBS. Normally, removing the data typing from variables is all that's required. If they've done it the correct way and used a custom template, you can edit that (having created a back-up, of course) to stop the AutoExec (or Open0 macro from executing when the template is loaded.

BTW, why not use the 'Scripting' forum for scripting questions? :)
Answered 08/26/2009 by: VBScab
Red Belt

Please log in to comment
Alternatively, the icon may be a result of a Word Add-in (if it's on it's own toolbar). Check to see if a template has been added into the Word Startup folder or in the following 2 registry locations.



Typically, yo can set the LoadBehavior to the value of 4 to disable the addin.
Answered 08/26/2009 by: michaelnowell
Second Degree Blue Belt

Please log in to comment
Thank you for the great ideas, which helped. And sorry I did not post this in the proper group [8|]
Answered 08/27/2009 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity