I am trying to have a for loop iterate over the populated section of column b on an excel spreadsheet. I am almost positive that I have the code correct but for some reason it gives me an invalid qualifier error at the .Row point in the code below. I am really unsure where I went wrong and any help would be greatly appreciated.
Set rng1 = Range("B2")
Set rng2 = Range("B2").End(xlDown)
For i = 1 To Sheet2.Range(rng1, rng2).Row.Count