Im having trouble finding the syntax to correctly define a range variable.
I am receiving an error on the lower of the two lines. These lines both exist within a with statement.
Thanks!
I am receiving an error on the lower of the two lines. These lines both exist within a with statement.
Code:
If .Cells(bb, "A").value = sampleVar Then
Set TblRng = .Range(Cells(bb, "A"), Cells(bb, "A").End(xlToRight))
Thanks!