Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Flipping a name
Try this function.
Public Function FormatName(ByVal InputName As String) As String FormatName = Right(InputName, Len(InputName) - InStrRev(Trim(InputName), " ")) & _ ", " & Trim(Left(InputName, InStrRev(InputName, " "))) End Function Jim Thomlinson "Duncan_J" wrote: If I got column of names John Doe And what to change it to Doe, John Is thier a way of doing this? DJ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Flipping text | Excel Worksheet Functions | |||
Flipping a Spreadsheet | Excel Worksheet Functions | |||
flipping a spreadsheet | Excel Worksheet Functions | |||
Data Flipping | Excel Discussion (Misc queries) | |||
Flipping the order around? | Excel Discussion (Misc queries) |