View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
colofnature[_10_] colofnature[_10_] is offline
external usenet poster
 
Posts: 1
Default problem selecting a range using variables


You'll need to take out the last & sign to make the line:
Range(col_1 & row_1 & ":" & col_2 & row_2).Select

Or replace this lign with:
Range(Cells(row_1, col_1), Cells(row_2, col_2)).Select


--
colofnature
------------------------------------------------------------------------
colofnature's Profile: http://www.excelforum.com/member.php...o&userid=34356
View this thread: http://www.excelforum.com/showthread...hreadid=544733