Would like to iterate each row in a selection in excel VBA.
I have:
Dim rng As Range
Dim s As String
Set rng = Application.Selection
Debug.Print "c :" & rng.Address
This prints
c :$B$22:$C$29
How to make a loop from row 22 to 29/ parse out the start and end row?
And in separate int variables get the start and end column?
See Question&Answers more detail:os