Ron Rosenfeld wrote..
..
Function Rev(str As String, sep As String) As Strin
..
temp = Split(str, sep
..
Rev = Join(temp1, sep
End Functio
..
Should avoid Split and Join unless the OP mentions that s/he use
Excel 2000 or later. You udf won't work in Excel 97 or 95. For tha
matter, Split and Join can only handle single character separators
Adequate for the OP's sample data, but if you're going to write
udf, it might as well be as general as possible
For literal, possibly multiple character separator strings
Function rf(s As String, sep As String) As Strin
Dim k As Long, n As Long, p As Long, q As Lon
n = Len(s
k = Len(sep
q = n - k +
For p = q To 1 Step -
If Mid(s, p, k) = sep Or p = 1 The
If p = 1 The
rf = rf & Mid(s, p, q + 1
Els
rf = rf & Mid(s, p + k, q - p) & se
q = p -
End I
End I
Next
End Functio