Ask Experts Questions for FREE Help !
Ask
    kvinay_00's Avatar
    kvinay_00 Posts: 36, Reputation: 1
    Junior Member
     
    #1

    Jul 2, 2009, 03:31 AM
    Disable Save As option
    Is there any way to disable only "Save As" option (Save option works)?

    Thanks
    JBeaucaire's Avatar
    JBeaucaire Posts: 5,426, Reputation: 997
    Software Expert
     
    #2

    Jul 2, 2009, 07:52 AM

    Put the following macro into the ThisWorkbook module of the book:
    Code:
    Option Explicit
    
    Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
        If SaveAsUI Then
            MsgBox "The 'Save As' function has been disabled." & Chr(10) & _
                "Only 'Save' will work.", vbInformation, "Save As Disabled"
            Cancel = True
        End If
    End Sub
    (source)
    kvinay_00's Avatar
    kvinay_00 Posts: 36, Reputation: 1
    Junior Member
     
    #3

    Jul 2, 2009, 11:03 PM
    Thank you !

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

How to disable Save and Copy button for PDF Document? [ 1 Answers ]

How to disable Save and Copy buttons for a PDF document? I don't want others to copy or save something from my PDF document.

Disable "delete browsing history" option [ 1 Answers ]

Hi I would like to know how to if its even possible to make it so people who use my computer cannot delete the browsing history on my computer. Or I would like to find out what they are deleting if the first option is not possible?? Thanks

Problem in Save Target as option on some sites ! [ 3 Answers ]

Can anybody give me guidance? Whenever I'm going to download some PDF documents linked on any site this problem occurs!! (1) I just right click on that link (2) Selected save target as (3) While it shown me the getting file information it shown the file link as *.pdf but, when actually it...

Disable help [ 2 Answers ]

My cousin's a disable young man in a wheel chair that needs assistance. He lives in a house that was on the demolition list in Michigan, but he had a few friends help him fix the house, to make it liveable. The problem is the city says the house does not exsist. So therefore he can't get the...


View more questions Search