View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
David Andrews David Andrews is offline
external usenet poster
 
Posts: 3
Default Select a range by column number

I need to select a range of cells knowing only the column index number (i)
So Range("C2:C12") needs to be Range("i2:i12").

I know there is the Cells command:
like Cells(5, i).Select
but this only selects one cell. I guess its a syntax problem for me.

Ideally i need to select a range with variable for row and column..any tips
?