Thread: Halfway to End
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default Halfway to End

Sub selecthalfcolumn()'ignores blanks
lr = Cells(Rows.Count, "a").End(xlUp).Row / 2
Range(Cells(1, 1), Cells(lr, 1)).Select
End Sub

--
Don Guillett
SalesAid Software

"Rokuro kubi" wrote in message
ups.com...
How do I select the bottom half of a column's cells in a macro?