zkid
Wed Aug 01 18:44:10 CDT 2007
Hi Barbara,
It's a little tricky to open template files. If you do so straight from
within Word, it should open the actual file itself (global.dot should appear
in the upper left-hand corner). If you open it through Windows Explorer, you
must right click and choose Open instead of double-clicking on the file name;
otherwise, it just opens up a document based on the template (thus, the empty
doc #).
I do believe your situation requires editing the custom toolbar. I see no
reason why you wouldn't be able to revise it with tools, customize. Once
you get to tools, customize, with the customize window open, simply left
click once on the menu item (it should not be surrounded by a little black
rectangle) and it's drop down contents should expand. Now you can drag off
the unneeded entries.
To add entries, however, you need to link the entry to the correct macro.
I'm assuming that the letterhead macro is also located in the Office startup
directory? Otherwise, I don't see how it would be accessed by global.dot's
toolbar. Is the toolbar actually in the letterhead macro template?
Here are some good articles for you to read:
http://www.geekgirls.com/wp_wordprocessing_toolbars.htm
http://www.learnthat.com/computers/learn-374-word_xp_toolbars.htm
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToToolbar.htm
"Barbara Pease" wrote:
> I went ahead and signed in as administrator and tried again to edit the
> global.dot. I was unable to edit the custom toolbar through Tools,
> Customize. I did look in the available references for the file and found
> Visual Basic for Applications, Microsoft Word 10.0 Object Library, OLE
> Automation and Microsoft Office 10.0 Object Library all check in that order.
> The two Microsoft entries pointed to different files. Is that at all
> helpful? I also found a Template Project (A20MSW10) which was uneditable.
> Could that be the culprit? Or is that an Avery Label template?
> --
> BA Pease
>
>
> "Barbara Pease" wrote:
>
> > Ok, it does appear to be hard coded - or built into the Global.dot file.
> > There is a file called Global.dot in a templates file on our server which
> > looks to have been edited around the same time we last had a change in
> > personnel. This file is also located in my Word\Startup file (same name,
> > date and size). And, I assume this is located in each users Startup file.
> >
> > When I try and open the file, it just opens a blank Document ##. I will try
> > again signed on as administrator and see if I can edit it then.
> >
> > What I am trying to do is: we have a drop down list of macros for
> > individual letterheads. (I have found the letterhead macro and been able to
> > modify that to add people, etc.) What I cannot seem to find is how I change
> > the actual drop down list to remove and add people's letterheads.
> >
> >
> > --
> > BA Pease
> >
> >
> > "zkid" wrote:
> >
> > > Thanks, Jonathan, for clarifying my lingo. What I meant by hard-coded is
> > > that the template is saved in the global.dot template as a custom toolbar and
> > > not created with vba code. If that is the case, then to revise it, with the
> > > global.dot file on the screen, select Tools, Customize. This will provide
> > > you revision access to the custom toolbar. However, we have no idea what it
> > > is that you wish to accomplish after that.
> > >
> > > "Jonathan West" wrote:
> > >
> > > >
> > > > "Barbara Pease" <BarbaraPease@discussions.microsoft.com> wrote in message
> > > > news:DC96D243-82B5-479F-98F6-4C200A08EC94@microsoft.com...
> > > > > We previously had templates written that included a custom toolbar with a
> > > > > drop down list for personal letterhead. I have found the letterhead macro
> > > > > and have been able to edit it (Global.dot), but I do not see the toolbar
> > > > > macro or where in the macro the toolbar is referenced in order to edit the
> > > > > drop down list. Can anyone help me? The people who wrote the script have
> > > > > resigned and given us absolutely no instruction on how they developed the
> > > > > macros, etc.
> > > >
> > > > It probably isn't in a macro, but built into the template itself, either as
> > > > a custom toolbar or as an addition to the menu bar.
> > > >
> > > > You can change some things about a custom toolbar through the Tools
> > > > Customize dialog. But there are some things that ou can't do, and for which
> > > > you may have to write yourself a bit of VBA code to manipulate the
> > > > CommandBars collection. Once you have it right, you only need to run the
> > > > code once and then save global.dot with the changes included.
> > > >
> > > >
> > > > --
> > > > Regards
> > > > Jonathan West - Word MVP
> > > > www.intelligentdocuments.co.uk
> > > > Please reply to the newsgroup
> > > >
> > > >
> > > >