Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I progromatically tell if a word doc has changed? 1

Status
Not open for further replies.

Stat792

Programmer
Jan 7, 2004
12
0
0
US
I'm storing word docs as BLOB's on a sql server and automating word with .NET to open them. But I don't want to save the document every time the user closes it on the chance they changed something.

I know word stores this information somewhere but where?

 
You want the Saved property of the document - it flips to false as soon as the document is updated.
E.g.
If ActiveDocument.Saved = False Then ActiveDocument.Save


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top