Bonjour,
Dans son message, < Charles Kenyon > écrivait :
In this message, < Charles Kenyon > wrote:
|| Since Word 97, at least, I've been able to create and store custom menus
and
|| modifications to built-in menus in a document file. Nevertheless, the
|| obvious way to load/unload these modifications to use them in other
|| documents is to have them in an Add-In. Word will not load a document
file
|| as an Add-In (nor should it).
You are right Charles, I wrote too fast... My bad.
What I should have written is:
A document (*.doc) does not store command bar and menu personalization very
well. If you opened "menu.doc" and modified the menus (without changing the
"Save in" settings at the bottom of the "Customization" dialog), then in
actual fact you have modified "normal.dot", this means that doe
modifications will be available to all documents created from normal.dot, as
"newdoc.doc" would presumably be. Whenever I have tried to save
customization with *.doc instead of *.dot, I have been displeased with the
result. Very often the customization are lost if you travel from one
document to another during the same Word session, often I have to fake
changing the customization to get my stuff back. Very often when you open a
document that has customization stored in it, the customization do not
display. Furthermore, I have tried with VBA ("CustomizationContext =
ActiveDocument") without much success. So I am probably doing something
wrong, but I find the process of storing customizations in a *.doc very
buggy, I also never really had a need for it anyway, so I never really
investigated it further, I must confess (I always work from templates). This
is why I always use templates instead (*.dot ), never had any problems with
those.
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site:
http://www.word.mvps.org