I have the following code:
Dim rRepCell As Variant
Dim rRepRow As Integer
Application.Goto Reference:="Reps" 'existing range
ActiveCell.Offset(1, 1).Range("A1").Select
Selection.End(xlDown).Select
rRepCell = ActiveCell.Address(0, 0)
rRepRow = Selection.Row(rRepCell)
Where the line:
rRepRow = Selection.Row(rRepCell)
produces an error: Runtime error 451. Property let procedure not defined and property get procedure did not return an object.
Thanks in advance.