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 / September 2005

Tip: Looking for answers? Try searching our database.

Set order startup templates are loaded?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
asdf - 31 Aug 2005 11:41 GMT
I have a few startup templates (e.g. Blogger) which add useful
functionality but take up too much space on the screen by adding a
toolbar. I moved the toolbar items into menus out the way.

Then I created an AutoExec macro in another template which closes the
toolbars I don't want.

All these templates are in the startup folder.

The problem is, my template is loaded and the macro executed before the
others, so the toolbars I want to close do not yet exist. Can this order
be mandated at all?
Jonathan West - 31 Aug 2005 13:10 GMT
>I have a few startup templates (e.g. Blogger) which add useful
>functionality but take up too much space on the screen by adding a toolbar.
[quoted text clipped - 8 lines]
> others, so the toolbars I want to close do not yet exist. Can this order
> be mandated at all?

Not that I'm aware of. But what you could do is have the AutoExec macro of
your add-in trigger another macro after a delay, by using the OnTime method.
Set the macro to run after a few seconds to give time for the other add-ins
to load. The macro can then hide the toolbars.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org 

Charles Kenyon - 31 Aug 2005 14:06 GMT
I have one startup template in my Startup folder. It loads 17 others in the
order I want as part of its AutoExec macro.
Signature

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

>I have a few startup templates (e.g. Blogger) which add useful
>functionality but take up too much space on the screen by adding a toolbar.
[quoted text clipped - 8 lines]
> others, so the toolbars I want to close do not yet exist. Can this order
> be mandated at all?
Klaus Linke - 31 Aug 2005 19:27 GMT
You might also make use of the fact that global templates are loaded in
reverse alphabetical order.
So customizations in one whose name starts with "A" override those whose
names start with "B"...

Normal.dot loads after the global templates. So if some global template
shows a toolbar or button or menu item, you can remove it in Normal.dot.

If your documents have attached templates, those can even override
Normal.dot, so you can make the toolbars specific to your documents.

You don't really need an AutoExec or OnTime. I don't like those much because
users should be able to customize Word the way *they* want. If I hide the
toolbar of some global template or add-in, I have my reasons, and don't
appreciate it one bit if the template/add-in forces its customizations on me
again every time I start Word.

Regards,
Klaus

>I have a few startup templates (e.g. Blogger) which add useful
>functionality but take up too much space on the screen by adding a toolbar.
[quoted text clipped - 8 lines]
> others, so the toolbars I want to close do not yet exist. Can this order
> be mandated at all?
asdf - 01 Sep 2005 16:02 GMT
> You might also make use of the fact that global templates are loaded in
> reverse alphabetical order.
> So customizations in one whose name starts with "A" override those whose
> names start with "B"...

This worked. Thanks very much. I had tried making my template the last
alphabetically, thinking that might be the order used.

> Normal.dot loads after the global templates. So if some global template
> shows a toolbar or button or menu item, you can remove it in Normal.dot.

For me, the startup templates are being loaded after normal.dot. Closing
the toolbar in normal.dot generates an error becasue there is no such
toolbar.

> If your documents have attached templates, those can even override
> Normal.dot, so you can make the toolbars specific to your documents.
[quoted text clipped - 4 lines]
> appreciate it one bit if the template/add-in forces its customizations on me
> again every time I start Word.

Exactly!

> Regards,
> Klaus
Jezebel - 02 Sep 2005 10:10 GMT
Further to cloud the issue, Acrobat 6 *resets* the main toolbar before
adding its own menu options, cheerfully discarding any options that other
add-ins might have loaded.

>> You might also make use of the fact that global templates are loaded in
>> reverse alphabetical order.
[quoted text clipped - 24 lines]
>> Regards,
>> Klaus
BMC - 02 Sep 2005 11:43 GMT
I've seen the Acrobat add-in casue so many problems on so many machines I
never install it, and tell people to print to the PDF driver instead.
Where people insist on using it, I've seen it disappear inexplixably and has
had to be copied into the startup folder again.
I would rather Word could save the PDF format itself and take Acrobat out of
the equation to save the hassle!
Signature

BMC
Delete delete and remove remove to email

> Further to cloud the issue, Acrobat 6 *resets* the main toolbar before
> adding its own menu options, cheerfully discarding any options that other
> add-ins might have loaded.
Word Heretic - 03 Sep 2005 17:56 GMT
G'day BMC <newsdeletegroup@inselremoveaffe.co.uk>,

My solution is to install the Acrobat add-in, then immediately move
PDFMaker* files to a standby directory, ready to copy back when
needed.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

BMC reckoned:

>I've seen the Acrobat add-in casue so many problems on so many machines I
>never install it, and tell people to print to the PDF driver instead.
>Where people insist on using it, I've seen it disappear inexplixably and has
>had to be copied into the startup folder again.
>I would rather Word could save the PDF format itself and take Acrobat out of
>the equation to save the hassle!
 
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.