Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello All,
I have Office 2003. I would like to prompt users of a public Excel file to close the file (or application) after they save it so that when they hit Save, a message box prompts them to that effect. Thanks in Advance |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Copy this into the This workbook Module
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) MsgBox "I would like to prompt users of a " _ & "public Excel file to close the file or " _ & "application after they save it so that " _ & "when they hit Save, a message box " _ & "prompts them to that effect." End Sub "Rutabaga" wrote: Hello All, I have Office 2003. I would like to prompt users of a public Excel file to close the file (or application) after they save it so that when they hit Save, a message box prompts them to that effect. Thanks in Advance |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
MsgBox "I would like to prompt users of a " _ & "public Excel file to close the file or " _ & "application after they save it so that " _ & "when they hit Save, a message box " _ & "prompts them to that effect." End Sub "Rutabaga" wrote: Hello All, I have Office 2003. I would like to prompt users of a public Excel file to close the file (or application) after they save it so that when they hit Save, a message box prompts them to that effect. Thanks in Advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
no prompt for saving after making changes | Excel Discussion (Misc queries) | |||
How do I get rid of prompt when saving Excel spreadsheet ? | Excel Discussion (Misc queries) | |||
save prompt for user exit, but no save prompt for batch import? | Excel Discussion (Misc queries) | |||
Save Changes Prompt at close | Excel Discussion (Misc queries) | |||
Help with user prompt | Excel Discussion (Misc queries) |