Remove option to save

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I make a shared excel file, when opened, to not include the option to
save, save as, save as webpage, etc….. And I would also like to remove the
little save icon on the toolbar. All this while not affecting the users
program when not accessing the specific file.
 
Put code in the 'This Workbook' 'BeforeSave' procedure that closes the
workbook instead of saving it. Something like...

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
MsgBox "Not this time"
ThisWorkbook.Saved = True
ThisWorkbook.Close
End Sub

HTH,
Gary Brown
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top