Hi, I would like to VBA create a print range as such: From cell A3 down to a row number specified in cell A1, and then to the rightmost column that has data in it. However there will be hidden columns between column A and the last column. Thanks
If Range("A1") <= 45 Then '<----- If you use this, it needs the period as in .Range
If Range("A1") <= 45 Then
If GT<=45 Then
GT = .Cells(2, 1).Value
Cells(1, 11).Left '<----- equals the left of the next Column = Column K = Column # 11