Thread: Sort Macro
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
MSP77079[_51_] MSP77079[_51_] is offline
external usenet poster
 
Posts: 1
Default Sort Macro

have you tried turning on the macro recorder and doing what you would d
manually?

If you used the Ctrl key and pressed the down arrow, the macro recorde
would record this:

Selection.End(xlDown).Select


If you have at least one blank row between your data and your total fo
that column, the .End(xlDow) will correctly find the end of the data

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