XL: Using Saved Property to Determine If Workbook Has Changed (213634)
The information in this article applies to:
- Microsoft Excel 2000
- Microsoft Excel 2002
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 95 7.0a
- Microsoft Excel 2001 for Mac
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q213634 SUMMARY
You can determine if changes have been made to a workbook by checking the
Saved property of the workbook. The Saved property returns a True or False value depending on whether changes have been made to the workbook. Note that it is possible to set the Saved property to True or False. The "More Information" section of this article contains sample macros that demonstrate the use of the Saved property.
Various conditions in your worksheet, such as the presence of volatile
functions, may affect the Saved property. For additional information about these conditions, please click the article number below to view the article in the Microsoft Knowledge Base:
274500
XL: "Save Changes in <Bookname>" Prompt Even If No Changes Made
REFERENCES
For more information about how to use the sample code in this article, click
the article number below to view the article in the Microsoft Knowledge
Base:
212536
OFF2000: How to Run Sample Code from Knowledge Base Articles
For additional information about getting help with Visual Basic forApplications, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
226118 OFF2000: Programming Resources for Visual Basic for Applications
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/10/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB213634 |
---|
|