I have a macro that inserts two colmuns into the worksheet.
I need to be able to select these two columns up to the last row of the data range.
I tried something like this:
but it doesn't work, so I guess I am getting the wrong syntax here
note: the above was just to test by selecting one of the two new columns..
what should I be doing?
I need to be able to select these two columns up to the last row of the data range.
I tried something like this:
Code:
Dim LastRow As Object
Set LastRow = [a65536].End(xlUp)
Range("C1:"LastRow).Select
but it doesn't work, so I guess I am getting the wrong syntax here
note: the above was just to test by selecting one of the two new columns..
what should I be doing?