+ Reply to Thread
Results 1 to 2 of 2

Thread: If Range1 Not Hidden on Sheet1 Then Show Range2 on Sheet2

  1. #1
    Registered User
    Join Date
    03-13-2010
    Location
    Bakersfield, California
    MS-Off Ver
    Excel 2003
    Posts
    28

    If Range1 Not Hidden on Sheet1 Then Show Range2 on Sheet2

    Hi. I was hoping for a little help coding this.

    I'm using this to hide and show ranges on my sheet1

    If Range("Blood").EntireRow.Hidden = True Then
            Range("Blood").EntireRow.Hidden = False
        Else
            Range("Blood").EntireRow.Hidden = True
        End If
    I want an onchange even i think its called.

    That as soon as "Blood" range which is on sheet 1 is hidden=false (visible) THEN

    a range on sheet2 i have designated Blood_Show will automatically become unhidden

    as soon as that range blood is hidden again then Blood_Show would again dissapear/behidden on sheet 2


    Any help with this would be really appreciated! Thanks so much!

  2. #2
    Registered User
    Join Date
    03-13-2010
    Location
    Bakersfield, California
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: If Range1 Not Hidden on Sheet1 Then Show Range2 on Sheet2

    Here's an example of what i'm trying to do but it is not working. changed sheet names....


    Private Sub Worksheet_Change(ByVal Target As Excel.Range)
      If Sheets("DISTRICT").Range("Auditorium_Cleanliness").EntireRow.Hidden = False Then
            Sheets("HOME").Range("Auditorium_Cleanliness_Show").EntireRow.Hidden = False
        Else
            Sheets("HOME").Range("Auditorium_Cleanliness_Show").EntireRow.Hidden = True
        End If
    End Sub
    any idea why it is not working? i want it to automatically change on home page when its changed on district page

+ 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.2.0