Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How robust does it need to be
Dim cell as Range, sStr as String for each cell in Selection v = Application.Split(cell,",") sStr = Trim( trim(v(Ubound(v))) & " " & trim(v(Lbound(v)))) cell.Value = sStr Next -- Regards, Tom Ogilvy "tjtjjtjt" wrote in message ... Does anyone have a routine that can take a list of names entered as "Lastname, Firstname" and change those names to "Firstname Lastname" within the same cells? Thanks, -- tj |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Switch First and Last Names | Excel Worksheet Functions | |||
Switch names | Excel Worksheet Functions | |||
how do i switch the first and last name in a cell? | Excel Discussion (Misc queries) | |||
How do I switch the names in a column in Excel | Excel Worksheet Functions | |||
How do I switch names around in excel? | Excel Worksheet Functions |