Discussion:
Force add in load order?
(too old to reply)
Chuck
2004-09-27 13:07:02 UTC
Permalink
Hi all

Is there any way to force the order that add ins load? I've got two add ins
with separate toolbars. On opening Word, for whatever reason the toolbars
don't automatically appear until a document is opened. I've got an AutoNew
macro in one of the toolbars to open and close a blank document to force the
toolbars to appear, but (I'm assuming) because of the load order the toolbar
of the second add in doesn't appear until I manually open a document. I've
tried using a second AutoNew macro in the second template, but it doesn't
work (I believe because only one AutoNew macro executes on opening Word?).

Any help greatly appreciated...

Chuck
Charles Kenyon
2004-09-30 17:58:54 UTC
Permalink
AutoNew macros in Add-Ins do not do anything. See the article on pseudo-auto
macros on the vba FAQ of the MVP FAQ.

I force loading order on my Add-Ins by only loading a master Add-In through
the Startup folder. That Add-In, as part of its AutoExec procedure loads the
others in the order I want. (They are located elsewhere.)
--
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.
Post by Chuck
Hi all
Is there any way to force the order that add ins load? I've got two add ins
with separate toolbars. On opening Word, for whatever reason the toolbars
don't automatically appear until a document is opened. I've got an AutoNew
macro in one of the toolbars to open and close a blank document to force the
toolbars to appear, but (I'm assuming) because of the load order the toolbar
of the second add in doesn't appear until I manually open a document.
I've
Post by Chuck
tried using a second AutoNew macro in the second template, but it doesn't
work (I believe because only one AutoNew macro executes on opening Word?).
Any help greatly appreciated...
Chuck
Chuck
2004-10-01 12:41:04 UTC
Permalink
Thanks for the great tips!
Post by Charles Kenyon
AutoNew macros in Add-Ins do not do anything. See the article on pseudo-auto
macros on the vba FAQ of the MVP FAQ.
I force loading order on my Add-Ins by only loading a master Add-In through
the Startup folder. That Add-In, as part of its AutoExec procedure loads the
others in the order I want. (They are located elsewhere.)
--
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.
Post by Chuck
Hi all
Is there any way to force the order that add ins load? I've got two add
ins
Post by Chuck
with separate toolbars. On opening Word, for whatever reason the toolbars
don't automatically appear until a document is opened. I've got an
AutoNew
Post by Chuck
macro in one of the toolbars to open and close a blank document to force
the
Post by Chuck
toolbars to appear, but (I'm assuming) because of the load order the
toolbar
Post by Chuck
of the second add in doesn't appear until I manually open a document.
I've
Post by Chuck
tried using a second AutoNew macro in the second template, but it doesn't
work (I believe because only one AutoNew macro executes on opening Word?).
Any help greatly appreciated...
Chuck
Loading...