+ Reply to Thread
Results 1 to 4 of 4

Disabling SaveAs

Hybrid View

rbeatson2002 Disabling SaveAs 05-18-2006, 01:24 AM
Guest RE: Disabling SaveAs 05-18-2006, 02:00 AM
Guest Re: Disabling SaveAs 05-18-2006, 02:10 AM
rbeatson2002 thanks 05-18-2006, 05:12 AM
  1. #1
    Registered User
    Join Date
    05-18-2006
    Posts
    2

    Question Disabling SaveAs

    Hi there!

    i am having trouble coming up with a method to disabling or removing the save as function in the File menu command. Basically i do not want users to copy the file to any locations except the approved ones.

    thanks a lot

  2. #2
    Neil
    Guest

    RE: Disabling SaveAs

    If you don't already have an 'AutoExec' macro then create a new one and add
    the following line, or of course just add it to your existing AutoExec macro
    if you have one.

    commandbars(''Worksheet Menu Bar'').Controls(''Window'').Controls("Save
    As...").Enabled=False


    You will of course need to re-activate it when you exit your worksheet.

    HTH

    Neil
    www.nwarwick.co.uk

    "rbeatson2002" wrote:

    >
    > Hi there!
    >
    > i am having trouble coming up with a method to disabling or removing
    > the save as function in the File menu command. Basically i do not want
    > users to copy the file to any locations except the approved ones.
    >
    > thanks a lot
    >
    >
    >
    > --
    > rbeatson2002
    > ------------------------------------------------------------------------
    > rbeatson2002's Profile: http://www.excelforum.com/member.php...o&userid=34554
    > View this thread: http://www.excelforum.com/showthread...hreadid=543180
    >
    >


  3. #3
    NickHK
    Guest

    Re: Disabling SaveAs

    Does this do what you need ?
    Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
    Boolean)
    If SaveAsUI = True Then
    MsgBox "No SaveAs"
    Cancel = True
    End If
    End Sub

    NickHK

    "rbeatson2002" <rbeatson2002.27zmrm_1147929901.5639@excelforum-nospam.com>
    wrote in message
    news:rbeatson2002.27zmrm_1147929901.5639@excelforum-nospam.com...
    >
    > Hi there!
    >
    > i am having trouble coming up with a method to disabling or removing
    > the save as function in the File menu command. Basically i do not want
    > users to copy the file to any locations except the approved ones.
    >
    > thanks a lot
    >
    >
    >
    > --
    > rbeatson2002
    > ------------------------------------------------------------------------
    > rbeatson2002's Profile:

    http://www.excelforum.com/member.php...o&userid=34554
    > View this thread: http://www.excelforum.com/showthread...hreadid=543180
    >




  4. #4
    Registered User
    Join Date
    05-18-2006
    Posts
    2

    thanks

    Thanks Nick and Neal this helped heaps!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1