#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default IsDirty

How would I know that there are unsaved changes in a workbook?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default IsDirty

Hi AMDRIT,

AMDRIT wrote:
How would I know that there are unsaved changes in a workbook?


The Saved property of the Workbook object will tell you whether it's "dirty"
or not:

If ActiveWorkbook.Saved Then
'/ no changes have been made
Else
'/ workbook is dirty
End If

--
Regards,

Jake Marx
www.longhead.com


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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default IsDirty

Thanks a lot, I missed that property when looking in the intellisense.


"Jake Marx" wrote in message
...
Hi AMDRIT,

AMDRIT wrote:
How would I know that there are unsaved changes in a workbook?


The Saved property of the Workbook object will tell you whether it's
"dirty" or not:

If ActiveWorkbook.Saved Then
'/ no changes have been made
Else
'/ workbook is dirty
End If

--
Regards,

Jake Marx
www.longhead.com


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




Reply
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



All times are GMT +1. The time now is 10:59 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"