Word 2007 Add-Ins: Editing toolbar icons in Word 2003 template

Word 2007 Add-Ins: Editing toolbar icons in Word 2003 template

Post by RGF3biBCam » Fri, 24 Oct 2008 05:20:01


I am working on a project to convert 15 Word 2003 templates to Word 2007. I
know that the custom toolbar for each template is now accessible from the
Add-Ins tab. Editing the macros is working fine but how can I edit the icons
to add, delete, or modify the custom toolbar? Some items need to be removed
and client wants a new option/icon.

BTW, each template needs to stand alone because the templates are
distributed via the company Intranet; users then save as needed.

Thanks in advance,

--
Dawn B.
 
 
 

Word 2007 Add-Ins: Editing toolbar icons in Word 2003 template

Post by Doug Robbi » Fri, 24 Oct 2008 15:20:19

You will need to open the template in Word 2003 to edit the icons.

Alternatively, come to grips with modifying the Ribbon - See the following
page of fellow MVP Greg Maxey's website

http://www.yqcomputer.com/

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Dawn Bjork Buzbee" < XXXX@XXXXX.COM > wrote in

 
 
 

Word 2007 Add-Ins: Editing toolbar icons in Word 2003 template

Post by Cindy M » Tue, 28 Oct 2008 19:15:43

Hi Dawn,

The buttons in the custom toolbars can still be accessed and changed using the
object model (a macro). The starting point is the Application.CommandBars
object. But the material is a lot more complex than can be described in a
single message. Here are a couple of starting points:

Deleting a toolbar:

CommandBars("Name of bar").Delete

Adding a toolbar:

CommandBars.Add "Name of bar"

Cindy Meister
INTER-Solutions, Switzerland
http://www.yqcomputer.com/ (last update Jun 17 2005)
http://www.yqcomputer.com/

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)