+ Reply to Thread
Results 1 to 5 of 5

Hide Rows on Sheet2 if Sheet3 is visible

  1. #1
    Registered User
    Join Date
    03-26-2007
    Posts
    92

    Hide Rows on Sheet2 if Sheet3 is visible

    Hello -

    I have a spreadsheet with 10 hidden worksheets. Sheet1 and Sheet2 are always visible. A user can click one of 10 buttons on Sheet1 to make one of 10 sheets visible. I need to hide rows 5 through 10 on Sheet2 if Sheet3, Sheet4 or Sheet5 is made visible. Any suggestions on how to do this?

    Thank you!

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Hide Rows on Sheet2 if Sheet3 is visible

    What's your code for making the sheets visible when the buttons are clicked?
    Should be able to fit something in there.

    BSB

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Hide Rows on Sheet2 if Sheet3 is visible

    Hello penny,

    We could solve your issue depending on which Command Buttons you have deployed. Without seeing a sample of how your Workbook is setup, it would be a guessing game.

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  4. #4
    Registered User
    Join Date
    03-26-2007
    Posts
    92

    Re: Hide Rows on Sheet2 if Sheet3 is visible

    Ahaha! This was all I needed to make me realize I was overthinking this. Here's the code I used:

    Please Login or Register  to view this content.

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Hide Rows on Sheet2 if Sheet3 is visible

    Hello penny,

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Copy all rows from one Workbook1.Sheet2 to Workbook2.Sheet3 and append them
    By dubcap01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-23-2015, 06:18 AM
  2. [SOLVED] insert a number in sheet1, add that number of rows in sheet2 and sheet3
    By dishguy05 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-07-2014, 04:55 PM
  3. [SOLVED] Hide specific Rows in Sheet1 + hide 5 more in Sheet2
    By bluesurger in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 06-02-2014, 07:19 AM
  4. compare Sheet2 against Sheet3 with highlighting results in Sheet2
    By mariposa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-29-2011, 01:17 PM
  5. Delete Sheet2 & Sheet3
    By arunkw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-22-2010, 10:04 AM
  6. Compare 2 cells on sheet1 with 2 cells on sheet2 and copy unmatched rows to sheet3
    By drewship in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2010, 07:56 AM
  7. A1 in sheet1 =” =SUM('sheet2:sheet3'!A1)”
    By minrufeng in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2006, 03:10 PM

Tags for this Thread

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