Results 1 to 19 of 19

Unhiding / Hiding rows based on a different cell value

Threaded View

  1. #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: Unhiding / Hiding rows based on a different cell value

    You may also try:

    Private Sub Worksheet_Change(ByVal Target As Range)
    
    If Range("H11") <> "" Then
    Rows("13:15").Hidden = True
    Else: Rows("13:15").Hidden = False
    End If
    End Sub
    or:

    Private Sub Worksheet_Change(ByVal Target As Range)
    
    If Range("H11") = "False" Then
    Rows("13:15").Hidden = True
    ElseIf Range("H11") = "True" Then
    Rows("13:15").Hidden = False
    End If
    End Sub
    Also see the "Please consider" note at the bottom of this post.
    Last edited by Winon; 07-29-2013 at 04:42 AM. Reason: Corrected second option
    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] .

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Help with hiding or unhiding multiple ranges of rows based on cell value on another sheet
    By Jake Bierly in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-22-2013, 12:14 PM
  2. Hiding and unhiding worksheets based on a cell value from another worksheet
    By J_barber in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2013, 01:02 PM
  3. [SOLVED] Hiding/Unhiding Rows Based on Dropdown Box
    By SubParLlama in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-14-2012, 12:29 PM
  4. [SOLVED] Hiding / unhiding pictures based on cell value
    By supern0va in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2012, 12:00 PM
  5. Hiding Unhiding Rows based on Text condition
    By Winner_texas in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-11-2010, 11:54 AM

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