What did work is this:
While ActiveCell = ActiveCell.Offset(0, -2)
On Error GoTo Sort
ActiveCell.Offset(0, -3).Select
ActiveCell.Copy
ActiveCell.Offset(0, 4).Select
ActiveCell.PasteSpecial
ActiveCell.Offset(1, -1).Select
Wend
Sort:
Columns("A:E").Select
Selection.Sort Key1:=Range("E1")
Is this a problem? Is there some reason it should not be used? Should
move
Sort:
past End?
Thanks,
Mar
--
Message posted from
http://www.ExcelForum.com