E
Ed
I want to create a toolbar, but I don't want to affect the normal (or any
other global) template. By that, I mean I don't want, upon exit, the normal
(or other) template to save (or ask to save). I thought that by creating a
temporary toolbar, I could accomplish this. Here is the code
Set myBar = CommandBars.Add(name:="Custom", Position:=msoBarFloating,
temporary:=True)
But, that does not do the 'trick.' When I exit Word, normal.dot saves.
Is there any way to create a truly temporary toolbar in such a way that
normal.dot doesn't think it was modified? (I did try CustomizationContext
and set the reference to another global template, but when I exited Word,
Word asked if I wanted to save the context template. I need a 'clean' exit,
if at all possible.) Thanks. (I was, of course, hoping that a truly
temporary toolbar would not cause Word to think anything was modified.)
Ed in Virginia
other global) template. By that, I mean I don't want, upon exit, the normal
(or other) template to save (or ask to save). I thought that by creating a
temporary toolbar, I could accomplish this. Here is the code
Set myBar = CommandBars.Add(name:="Custom", Position:=msoBarFloating,
temporary:=True)
But, that does not do the 'trick.' When I exit Word, normal.dot saves.
Is there any way to create a truly temporary toolbar in such a way that
normal.dot doesn't think it was modified? (I did try CustomizationContext
and set the reference to another global template, but when I exited Word,
Word asked if I wanted to save the context template. I need a 'clean' exit,
if at all possible.) Thanks. (I was, of course, hoping that a truly
temporary toolbar would not cause Word to think anything was modified.)
Ed in Virginia