Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to stop users from saving a workbook if a
cells contents have not been completed, I know that I can use the Event BeforeSave to do a test on the contents of a cell but how can I stop the save Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) If Range("C10") = "" Then MsgBox "Please complete cell C10" Exit Sub End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
stop prompt to save on no changes made | Excel Discussion (Misc queries) | |||
Stop prompting for save the changes in Excel | Excel Discussion (Misc queries) | |||
Save As - Can I use VBA? to stop XL Sheet overwrite | Excel Discussion (Misc queries) | |||
Stop asking to save changes | Excel Discussion (Misc queries) | |||
How do I stop excel from asking me if I want to save my document? | Setting up and Configuration of Excel |