I am trying to pass a varible in Range but I am not able to, so the whole question is, I have two varibales a and b where values can be changed. now I want to select this range, but I am not able to select it as a range in VBA.
a = ActiveCell.Address ' suppose it returns me A3
b = ActiveCell.Offset(20, 0).Address ' suppose it returns me A23
Set d = range("a:b") ' here i want to select A3:A23, but I am not able to
d.select
Please help