View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tim[_25_] Tim[_25_] is offline
external usenet poster
 
Posts: 4
Default selecting multiple rows


rownum = activecell.row
Rows(rownum & ":" & rownum+5).select

-----Original Message-----
how do i select multiple rows from within VBA, I need

something simillar to
the following, obviously the following line does not

work, however it should
give you the idea of what I am after. i.e. select the

row of the activecell
along with the five rows below it!

Rows(ActiveCell.Row, ActiveCell.Offset(5, 0)).Select


.