View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
almostthere almostthere is offline
external usenet poster
 
Posts: 1
Default how to select multiple rows using vba

I want to select multiple rows (so I can then sort them)

This is what I have so far:

Do While Worksheets(I).Cells(InputRow, 1).Value < ""
Rows(InputRow).Select
InputRow = InputRow + 1
Loop

But it just highlights the specific row everytime it goes through th
loop and the one that was highlighted is not anymore.

I want to have the rows STAY highlighted after it goes through th
loop.

Thanks:

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