Auto List Entries are Deleted from Auto Text

P

Prasanna Dsouza

Hi
I have written an VB Add-in that creates a Menu on the Menu bar of word. The
application works fine all events are handled.
The problem that arises is
1.) My custom Menus appear in place of Auto-Text entries
2) All AutoText is cleared from the Menu and the AutoText Tool bar after i
delete my custom menus.

I would like to know if i can restore the AutoText Menu without replacing
Normal.dot (which is what i do now to get my AutoText back) via code that is
or
Is there any work around that will prevent my custom menus appearing in
Auto-Text

Thanks
Prasanna
 
P

Perry

Here are a couple of articles dealing with your problem.

http://www.mvps.org/word/FAQs/Customization/WhatTemplatesStore.htm

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbawd10/htm
l/woprocustomizationcontext.asp

http://www.mvps.org/word/FAQs/MacrosVBA/ProtectCmdBar.htm

If the information provided in above articles turn out not helpfull, kindly
repost but include some relevant parts of the code you're using.
Especially the passages in which you build up the commandbars/adjust the
commandbars.

Krgrds,
Perry
 
Top