Splitting cells
Try a user defined functuion like this:
Function Example(Text As String) As String
Dim Position As Integer
Position = Len(Text)
Do
Position = Position - 1
Debug.Print Mid(Text, Position, 1)
Loop Until Mid(Text, Position, 1) = " "
Example = Mid(Text, Position + 1)
End Function
"Bill" wrote in message
...
I have data like the following.
6.00 x 12.00 x 24.00 CRS
I would like to split out the last part (CRS) into another cell. There is
always a space before the data to split, but the rest may or may not have
spaces. Basically I need to go to the end of the cell and then back to
the
space and split.
Thanks
Bill
|