+ Reply to Thread
Results 1 to 5 of 5

Hiding Rows

  1. #1
    Registered User
    Join Date
    04-29-2008
    Location
    Tennessee
    MS-Off Ver
    2007
    Posts
    37

    Hiding Rows

    Hello,
    In the attached spreadsheet I would like to create a macro that hides the rows that contain the artists (rows 3,5,8,10...). I tried creating a macro myself, but I have no idea what to do when the song title is in two rows. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    From an Excel perspective, everything should be in a single row, including artist, and the title should be in a single cell. That's the way Excel is designed to work. Then you could hide the artist column.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Sorry misread

    Try

    Please Login or Register  to view this content.
    VBA Noob

  5. #5
    Registered User
    Join Date
    04-29-2008
    Location
    Tennessee
    MS-Off Ver
    2007
    Posts
    37
    Thanks for the replies!

    shg: This was an imported text file and when I imported it, the Artist was below the Title. I figured out how to copy it to a column (with the help of some people here), so now I want to hide the rows that originally contained the Artist.

    VBA Noob: I tried the code you wrote and it did the opposite of what I wanted, so I switched the "True" and "False" around and now it works perfectly!!

    Thanks for the replies!

+ 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