+ Reply to Thread
Results 1 to 4 of 4

Hide Zero rows

  1. #1
    Registered User
    Join Date
    11-14-2007
    Posts
    29

    Hide Zero rows

    Hi everyone,

    I have a seemingly easy task which I need help a more efficient macro to do for me. Here's the scenario:

    My column C (rows 1 to 10) has the following numbers:
    1
    1
    1
    1
    1
    1
    0
    0
    0
    0


    The macro should hide rows 2, 4 and 6 then all zeros after that. I had a Do While macro made, but it runs verrrrrrry slow. Just wondering if another trick would do the job more efficiently.

    Thanks and I'm always grateful for the help this site has given me.

    WK
    Please Login or Register  to view this content.

  2. #2
    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
    Your title says delete and your post says hide so I gone with the post version

    Maybe

    Please Login or Register  to view this content.
    VBA Noob
    Last edited by VBA Noob; 11-18-2007 at 02:16 PM.
    _________________________________________


    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 !!!

  3. #3
    Registered User
    Join Date
    11-14-2007
    Posts
    29
    Quote Originally Posted by VBA Noob
    Your title says delete and your post says hide so I gone with the post version

    Maybe

    Please Login or Register  to view this content.
    VBA Noob
    Sorry for the mix up. My intention was to hide the rows.

    Thank you very much. I appreciate your help.

    WK

  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
    Glad it helped

    I've amended your title

    VBA Noob

+ 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