Ok a bit late i realise but ive rewritten your code for you
i think this is the kind of thing your after,
Code:
Sub SortCaseCaptionandConcatenate()
'
' SortCaseCaptionandConcatenate Macro
' Macro recorded 11/18/2005 by palto1
'
Dim rRange As Range
Set rRange = Cells.Find(what:="*", searchdirection:=xlPrevious)
If Not rRange Is Nothing Then
Set rRange = Range(Cells(2, 1), Cells(rRange.Row, 1))
Cells.Sort Key1:=Range("B2"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
rRange.FormulaR1C1 = "=RC[1]&"" | ""&RC[2]&"" | ""&RC[3]"
End If
Range("A2").Select
End Sub
if you have any comments pleasse just let me know ill be about for the next couple of days,
All the best
Dave