+ Reply to Thread
Results 1 to 7 of 7

Displaying only part of a workbook

  1. #1
    Registered User
    Join Date
    03-27-2011
    Location
    Ottawa Canada
    MS-Off Ver
    Excel 2003
    Posts
    15

    Displaying only part of a workbook

    Hi,
    I have a workbook with a first summary sheet and 6 other sheets.
    Calculations done on the last 6 sheets are automatically updated on the first summary sheet. The summary sheet is locked.
    How can I send the workbook to other people without them being able to view (or have access to ) the last 6 sheets.
    I want these people to only view the read only summary.
    Thanks

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Displaying only part of a workbook

    see here
    http://j-walk.com/ss/excel/usertips/tip036.htm
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    06-02-2010
    Location
    n.ireland
    MS-Off Ver
    Excel 2007
    Posts
    91

    Re: Displaying only part of a workbook

    Hi Bachi

    try this,

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-27-2011
    Location
    Ottawa Canada
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Displaying only part of a workbook

    Hi,
    Will I still be able to view all the sheets in the workbook after I insert this code??
    I only want my email recipients not to view the last six sheets.
    I still need to work on all the sheets myself.
    One last silly question.
    I am not an expert so can you please give me directions on how to insert the code, (step by step)
    Thanks for the help

  5. #5
    Registered User
    Join Date
    06-02-2010
    Location
    n.ireland
    MS-Off Ver
    Excel 2007
    Posts
    91

    Re: Displaying only part of a workbook

    Hi Bachi,

    To insert code.
    press alt f11 to open the code window.
    now click on thisworkbook and copy and paste code

    All sheets except "Summary" will be hidden
    to unhide other sheets
    click on sheet name in project explorer and click view from menu bar
    click on properties window
    scroll down to visible property and change xlsheetveryhidden to xlvisible
    and that will now make that sheet visible.

    Hope that helps.

  6. #6
    Registered User
    Join Date
    03-27-2011
    Location
    Ottawa Canada
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Displaying only part of a workbook

    I have done exactly as you suggested.
    After I paste the code, I try going to tool/macro but no macro's are showing up to be activated. Therefore, my workbook is not affected at all
    thanks

  7. #7
    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: Displaying only part of a workbook

    It runs when the workbook opens.

    If you want to run it on demand, open the VBE, and do Insert > Module, and paste this:

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

+ 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