tags:

views:

9

answers:

0

Hi, I am trying to hide one of the menu options from taskpane word 2003. I can do this successfully by doing this:

CommandBars["File"].Controls["Version History"].Visible = false;

However, for some reason, it hides this option for any document you open from that point of time unless you specifically unhide it.

Is there any other way hiding menu items from taskpane, any property I can add in the wordml for this purpose so that it only does it for specific document and not for the machine itself.