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 / Programming / October 2007

Tip: Looking for answers? Try searching our database.

opening and modifying documents without modifying attached templat

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter_A_M (NL) - 24 Oct 2007 14:17 GMT
Although this not a strict vba question, some knowledge of the object model
could be of help, I think.

My question:
In some cases (but certainly not all!) after opening a document and
immediately closing it again or closing it after modification (either saving
these modifications or not), it happens that I'm prompted if I want to save
modifications in the attached template.
As far as I know no modifications have been made though. Nevertheless
probably some property of some object has been changed upon opening.
What could this be? How can I identify this? And most important: how can I
avoid this??

Thanks for any help!
Peter

(I've been thinking of something like styles which differ between the
document and the template; or updating a property like 'date last opened' or
so...)
Tony Jollans - 24 Oct 2007 20:37 GMT
Identifying the actual cause can sometimes be difficult, but a common cause
of this is toolbar buttons being changed, although you have identified other
possible causes as well.

The only way to avoid it is to change the code in the template so that it
either saves the change or sets the template to 'saved' so that Word doesn't
want to try to save it. You *could* set it to 'saved' yourself in a separate
procedure (in your own global template perhaps) but that isn't really the
way to do it.

Signature

Enjoy,
Tony

> Although this not a strict vba question, some knowledge of the object
> model
[quoted text clipped - 19 lines]
> or
> so...)

Rate this thread:






 
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.