Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50070

get macro to repeat through rows but not hidden ones

$
0
0
Hi
I believe I'm looking for a loop but I just can't figure this out on my own I'm afraid (still learning). First off, I've recorded a macro (macro 2) that does what I want it to do for the 1st 2 rows of my spreadsheet. I need to know how to re-write it so it works for the rest of the rows with data (this isn't a set number but will never be more than 1000), without manually going through all rows.

I would like the answer to the problem above, but also I'd like another answer to the same problem but a solution that would work if some of the rows are hidden (I want the macro to ignore the hidden rows)

Many thanks for reading
Attached Files

Viewing all articles
Browse latest Browse all 50070

Trending Articles