Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Did user Save?

Is there a way to trap whether the user "saved" using the icon, ctrl+s, or
file save? I'd like to set a Boolean if they do.

I'm trying to separate that behavior vs. saying yes to "do you want to save
changes?" when they close a file - is that possible?

Thanks in advance!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Did user Save?

Every workbook as a saved property that will tell you if the workbook has
been saved or not. Try this code to see

Sub test()
if ThisWorkbook.Saved = true then
msgbox "Saved"
else
msgbox "Not Saved"
end if
End Sub

--
HTH...

Jim Thomlinson


"Patti" wrote:

Is there a way to trap whether the user "saved" using the icon, ctrl+s, or
file save? I'd like to set a Boolean if they do.

I'm trying to separate that behavior vs. saying yes to "do you want to save
changes?" when they close a file - is that possible?

Thanks in advance!



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
User defined file name on save Jim G Excel Discussion (Misc queries) 11 October 30th 06 01:29 AM
How do I share a workbook and allow user to save? Alicia Excel Discussion (Misc queries) 0 October 13th 06 03:47 PM
save prompt for user exit, but no save prompt for batch import? lpj Excel Discussion (Misc queries) 1 February 25th 06 02:08 AM
Retrieving User of Last Save Ruan[_3_] Excel Programming 2 November 13th 03 11:44 PM
Prompt user to save their file Sharon[_5_] Excel Programming 4 September 29th 03 09:44 PM


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