+ Reply to Thread
Results 1 to 3 of 3

Code, that disables save, save as and close commands

  1. #1
    Registered User
    Join Date
    10-30-2009
    Location
    Europe
    MS-Off Ver
    Excel 2003
    Posts
    9

    Code, that disables save, save as and close commands

    Each of the worksheets in my model use A1 as a control cell for any errors and inconsistencies. My aim is to disable save and close commands in case A1 is not equal to 0 in any of the worksheets.

    The code I currently use for that purpose is as follows.

    Please Login or Register  to view this content.
    Something however is not OK and it gives errors. Furthermore, the disabling of close command is not covered.

    Please help me update it.
    Last edited by mgmetev; 11-02-2009 at 06:32 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Code, that disables save, save as and close commands

    Maybe like this:
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-30-2009
    Location
    Europe
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Code, that disables save, save as and close commands

    Hip hip, that's exactly what I wanted
    Thanks shg, great job! Another beer for you.

+ 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