Results 1 to 4 of 4

Hide/Unhide

Threaded View

  1. #1
    Registered User
    Join Date
    06-04-2009
    Location
    Mpls, MN
    MS-Off Ver
    Excel 2007
    Posts
    3

    Hide/Unhide

    Hi
    I am trying to hide some lines that are not needed most of the time. I am trying to make them accessible with the click of a button if they are. Can you tell me what is wrong with the code I am using? I keep getting else with out if and i just do not get it.

    'If Rows("9:11").EntireRow.Hidden = True Then
        Rows("9:11").EntireRow.Hidden = False
       Else
    If Rows("9:11").EntireRow.Hidden = False Then
        Rows("9:11").EntireRow.Hidden = True
    End If
    Last edited by jknober; 04-22-2010 at 04:36 PM.

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