Results 1 to 3 of 3

skip hidden rows in loop

Threaded View

  1. #1
    Registered User
    Join Date
    06-23-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2010/2007
    Posts
    34

    skip hidden rows in loop

    Hi guys, i wrote a macro using a for loop which goes through all the rows of a specified column. How do you write a code such that if the current row is hidden, it will proceed to the next row?
     If Rows(cellcounter).Hidden = True Then Resume Next
    produces an error.
    Last edited by secondrate; 07-11-2010 at 08:41 AM. Reason: Title for newbie pm message

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