I have a project where we'd like to gray-out the file Save As... feature for
non-power users in a department.
We have the normal.dot set to read-only for testing.
Using VBA in an add-in ourCompany.dot all works well.
However it seems the after we modify any Menu items, when Word closes we get
the message...
Word cannot save changes to the global template because it was opened with
read only access.
Is there a way to modify Menu items from an add-in so that normal.dot does
not get modified?
- Mike
Hi Mike,
> I have a project where we'd like to gray-out the file Save As... feature for
> non-power users in a department.
[quoted text clipped - 11 lines]
> Is there a way to modify Menu items from an add-in so that normal.dot does
> not get modified?
By writing the changes to that CustomizationContext (that's a property of the
Application object).
Or you set the Saved property of the NormalTemplate to true at some point,
after you've made the changes. That "tricks" Word into believing there's been
no changes made that need to be saved.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
mike - 31 Oct 2006 17:14 GMT
Hi Cindy, very good thank you very very much!
> Hi Mike,
>
[quoted text clipped - 35 lines]
> reply
> in the newsgroup and not by e-mail :-)