TB's Code Library
If it ain't tight, it ain't right!
Search
Monday, June 27, 2005
Prevent a user saving a Workbook as another name. That is, stop the Save as dialog box from showing.
Private Sub Workbook_BeforeSave _
(ByVal SaveAsUI As Boolean, Cancel As Boolean)
If SaveAsUI = True Then Cancel = True
End Sub
Newer Post
Older Post
Home