J
jbarrington
This works:
Dim myRange As Range
Set myRange = Worksheets("Collection").Range("H2:H4")
But the change below doesn't work for some reason and presents an error:
Dim refColumn As String
Dim myRange As Range
refColumn = "H"
Set myRange = Worksheets("Collection").Range(refColumn & "2:" &
refColumn & "4")
What have I done wrong?
Thanks in advance.
Dim myRange As Range
Set myRange = Worksheets("Collection").Range("H2:H4")
But the change below doesn't work for some reason and presents an error:
Dim refColumn As String
Dim myRange As Range
refColumn = "H"
Set myRange = Worksheets("Collection").Range(refColumn & "2:" &
refColumn & "4")
What have I done wrong?
Thanks in advance.