LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Check if workbook has been changed

Hi Yong,

Yong wrote:
How to check if the opened workbook has been changed since last
opened programmatically?


The Saved property of the Workbook object will tell you whether it is
"dirty" or not.

If wb.Saved Then
'/ no changes since last save
Else
'/ changes have been made
End If

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AUTO-POPULATE WORKBOOK WHEN OTHER WORKBOOKS ARE CHANGED Todd Excel Discussion (Misc queries) 0 February 10th 10 04:58 PM
Settings are changed when opening workbook on a different computer J Excel Discussion (Misc queries) 1 March 31st 06 06:11 PM
How can I check if data in an external data range is changed afte. Ruud Excel Worksheet Functions 0 January 7th 05 12:15 PM
Closing an Unsaved (but Changed) Workbook Mike[_64_] Excel Programming 4 December 31st 03 01:07 AM
How To: Check if a cell value has changed Kevin McCartney[_2_] Excel Programming 2 November 27th 03 12:51 PM


All times are GMT +1. The time now is 10:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"