Howdy all,
I need some VBA code to count the number of rows in a column that have data.
I want to use this number as a count in a for-next loop. I've got the for-next loop worked out, but I'm currently setting the count manually - not dynamicaly.
Do I need to set up a single-column dynamic Named Range and find the last row or is there an easier way to do this with VBA?
I need some VBA code to count the number of rows in a column that have data.
I want to use this number as a count in a for-next loop. I've got the for-next loop worked out, but I'm currently setting the count manually - not dynamicaly.
Do I need to set up a single-column dynamic Named Range and find the last row or is there an easier way to do this with VBA?