Prevent User from saving

C

Chip Pearson

In the ThisWorkbook module, use the following code:

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, _
Cancel As Boolean)
Cancel = True
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
C

crapit

Thanks.
In addition, does protecting the sheet allow data to be enter? Can it be use
to prevent resizing the height/width of cell but
 
Top