Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
User defined file name on save | Excel Discussion (Misc queries) | |||
How do I share a workbook and allow user to save? | Excel Discussion (Misc queries) | |||
save prompt for user exit, but no save prompt for batch import? | Excel Discussion (Misc queries) | |||
Retrieving User of Last Save | Excel Programming | |||
Prompt user to save their file | Excel Programming |