What I want to do is:
I have Row 1 with information in it from Column B onward, I dont know where it finishes as it will vary.
What I want to do is Select From Colum B to the last entry.
I have found one way of doing this, with the command:
Sheets("View"
.Columns("B:M"
.Select
But I have to type in the M.
I can work out the M in number format with the following code:
Col = 2
While Len(Sheets("View"
.Cells(1, Col)) <> 0
Col = Col + 1
Wend
But can I convert that into a Letter so
1 = A
2 = B
3 = C
....
26 = Z
27 = AA
and so on?
Or is there a better way?
I have Row 1 with information in it from Column B onward, I dont know where it finishes as it will vary.
What I want to do is Select From Colum B to the last entry.
I have found one way of doing this, with the command:
Sheets("View"
But I have to type in the M.
I can work out the M in number format with the following code:
Col = 2
While Len(Sheets("View"
Col = Col + 1
Wend
But can I convert that into a Letter so
1 = A
2 = B
3 = C
....
26 = Z
27 = AA
and so on?
Or is there a better way?