Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have the two event codes below. I do not want the current file to be saved
with the opening Filename. What am I missing in order to after the user gets the message below he is able to then do a File SAVEAS and (must) enter a new filename? Private Sub Workbook_BeforeClose(Cancel As Boolean) MsgBox "This is a Template File. Do a File, SaveAs and provide a New FileName with Date" Cancel = True End Sub Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) MsgBox "This is a Template File. Do a File, SaveAs and provide a New FileName with Date" Cancel = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I prevent saving an excel file if cells are blank? | Excel Worksheet Functions | |||
saveas CSV file | Excel Discussion (Misc queries) | |||
SaveAS to a specific folder, with operator input of file name | Excel Discussion (Misc queries) | |||
File saves ok, SaveAs VERY slow | Excel Discussion (Misc queries) | |||
Save and Saveas Greyed out on tool bar and file menu | Setting up and Configuration of Excel |