RicksAtWork
Programmer
I am using:
Journal = Application.Cells(nthRow, 21).Value
To pull the value from the nth Row column 21.
However, my data has been filtered, so it may read
Row
1
2
6
7
I want to iterate across the visible rows.
Obviously
for i=1 to 4
Journal = Application.Cells(i, 21).Value
wont work.....
How can I iterate over rows 1,2,6,7 and not 1,2,3,4???
Journal = Application.Cells(nthRow, 21).Value
To pull the value from the nth Row column 21.
However, my data has been filtered, so it may read
Row
1
2
6
7
I want to iterate across the visible rows.
Obviously
for i=1 to 4
Journal = Application.Cells(i, 21).Value
wont work.....
How can I iterate over rows 1,2,6,7 and not 1,2,3,4???