View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
kkknie[_92_] kkknie[_92_] is offline
external usenet poster
 
Posts: 1
Default Need to Select multiple cells based on counter

A couple of ways:

For only one column -

Range("A" & iFirstRow & ":A" & iLastRow)

where ifirstrow and ilastrow are the row range. Or-

Range(Cells(iFirstRow, iFirstCol), Cells(iLastRow, iLastCol))

to select from multiple contiguous rows and columns.



--
Message posted from http://www.ExcelForum.com