Hello
Is there a way to select columns (more than 1!) in VBA by specifying numbers rather than letters?
Instead of
Columns("B:D").Select
I would like something along the lines of
Columns(2,4).Select 'Select columns 2 through 4
I want to do it this way because I want to select columns by using a variable start position and a variable end position - and don't want to end up converting those numbers to letters in a text string.
Thank you
HedgePig
Is there a way to select columns (more than 1!) in VBA by specifying numbers rather than letters?
Instead of
Columns("B:D").Select
I would like something along the lines of
Columns(2,4).Select 'Select columns 2 through 4
I want to do it this way because I want to select columns by using a variable start position and a variable end position - and don't want to end up converting those numbers to letters in a text string.
Thank you
HedgePig