How do I disable save/save as and control +s and f12 in excel 2007?

5 pts.
Tags:
Excel 2007
microsoft excel functions
Office 2007
I want o disable those and only allow save feature through the macro I established

Software/Hardware used:
excel 2007

Answer Wiki

Thanks. We'll let you know when a new response is added.

For Excel 2003,

After you press ALT+F11, put the following VBA code in “Workbook” object

Private Sub Workbook_Open()
disablesaveas
End Sub

Then Add “Module” and paste this in
Sub disblesaveas()
CommandBars(“File”).Controls(“Save As…”).Enabled = False
End Sub

Then close the file and open it again

For Excel 2007 users,

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

Just do for the rest.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following