+ Reply to Thread
Results 1 to 2 of 2

Conditional formatting based on decision to enable/disable macros?

  1. #1
    Registered User
    Join Date
    11-09-2005
    Posts
    10

    Conditional formatting based on decision to enable/disable macros?

    I have an Excel workbook that is used by numerous individuals across the province via our server. For this workbook to function properly, I need each user to choose "Enable Macros" upon opening the workbook. However, they are still able to access the workbook regardless of their decision. Is there a way to prevent the users from viewing/editing/etc the workbook if they choose to "Disable Macros"? Possibly through some sort of conditional formatting? Or....??
    Thanks.

  2. #2
    Bob Phillips
    Guest

    Re: Conditional formatting based on decision to enable/disable macros?


    The standard way to approach this is as follows.
    - create a worksheet with a message on explaining that for this workbook to
    run it needs macros enabled, maybe even a few screenshots
    - hide all other worksheets
    - add some code in the Workbook_Open event that unhides the other sheets,
    but hides that sheet.

    What happens is that if they do not enable macros, they will only see the
    warning sheet, telling them how to do it. If they enable macros, it will
    startup the workbook as it should be.


    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "zenahs" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have an Excel workbook that is used by numerous individuals across the
    > province via our server. For this workbook to function properly, I need
    > each user to choose "Enable Macros" upon opening the workbook. However,
    > they are still able to access the workbook regardless of their decision.
    > Is there a way to prevent the users from viewing/editing/etc the
    > workbook if they choose to "Disable Macros"? Possibly through some
    > sort of conditional formatting? Or....??
    > Thanks.
    >
    >
    > --
    > zenahs
    > ------------------------------------------------------------------------
    > zenahs's Profile:

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




+ 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