Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Menus and Toolbars / October 2006

Tip: Looking for answers? Try searching our database.

Changing menu affects normal.dot?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mike - 30 Oct 2006 21:04 GMT
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
Cindy M. - 31 Oct 2006 13:35 GMT
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 :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.