+ Reply to Thread
Results 1 to 10 of 10

Protecting Sheet to Prevent Viewing At All

Hybrid View

  1. #1
    VoG
    Guest

    Re: Protecting Sheet to Prevent Viewing At All

    The following code will make the sheet 'invisible' to ordinary users:

    Sub hideit()
    Sheets("Sheet2").Visible = xlVeryHidden
    End Sub

    To unhide it use

    Sub unhideit()
    Sheets("Sheet2").Visible = True
    End Sub


    --
    Message posted via OfficeKB.com
    http://www.officekb.com/Uwe/Forums.a...excel/200507/1

  2. #2
    Michael Link
    Guest

    Re: Protecting Sheet to Prevent Viewing At All

    Both this and the other reply, below, will be phenomenally useful. Thank you
    both! The Excel rescue team comes through again!

    "VoG" wrote:

    > The following code will make the sheet 'invisible' to ordinary users:
    >
    > Sub hideit()
    > Sheets("Sheet2").Visible = xlVeryHidden
    > End Sub
    >
    > To unhide it use
    >
    > Sub unhideit()
    > Sheets("Sheet2").Visible = True
    > End Sub
    >
    >
    > --
    > Message posted via OfficeKB.com
    > http://www.officekb.com/Uwe/Forums.a...excel/200507/1
    >


+ 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