+ Reply to Thread
Results 1 to 4 of 4

Codeing for hiding sheet

  1. #1
    jk
    Guest

    Codeing for hiding sheet

    Hello,
    What is the code used to hide a sheet in the workbook?

    Thanks

  2. #2
    Bob Flanagan
    Guest

    Re: Codeing for hiding sheet

    Just record a macro of that action and you will get the code.

    Bob Flanagan
    Macro Systems
    144 Dewberry Drive
    Hockessin, Delaware, U.S. 19707

    Phone: 302-234-9857, cell 302-584-1771
    http://www.add-ins.com
    Productivity add-ins and downloadable books on VB macros for Excel

    "jk" <[email protected]> wrote in message
    news:[email protected]...
    > Hello,
    > What is the code used to hide a sheet in the workbook?
    >
    > Thanks




  3. #3
    Maria J-son
    Guest

    xlVeryHidden

    If you want to be sure the user can't see it, you can use
    "xlSheetVeryHidden" adn to show it again use "xlSheetVisible". Here with
    codename of the sheet intestead of the name of the sheet otherwise exchange
    Sheet1. with Worksheet("Sheet1").

    Sub VeryHideSheet
    Sheet1.Visible = xlSheetVeryHidden
    End sub

    Sub ShowSheet
    Sheet1.Visible = xlSheetVisible
    End sub


    /regards


    "jk" <[email protected]> skrev i meddelandet
    news:[email protected]...
    > Hello,
    > What is the code used to hide a sheet in the workbook?
    >
    > Thanks




  4. #4
    Tushar Mehta
    Guest

    Re: Codeing for hiding sheet

    In article <[email protected]>,
    [email protected] says...
    > Hello,
    > What is the code used to hide a sheet in the workbook?
    >
    > Thanks
    >

    In addition to the suggestions you've already received, you may want to
    check the discussion at
    Very Hidden Worksheets
    http://www.dailydoseofexcel.com/arch...en-worksheets/

    --
    Regards,

    Tushar Mehta
    www.tushar-mehta.com
    Excel, PowerPoint, and VBA add-ins, tutorials
    Custom MS Office productivity solutions

+ 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