Splitting a Name

  • Thread starter Thread starter dpollack
  • Start date Start date
D

dpollack

Guest
I have a list of names in 1 field - each has a comma in the string. I am trying to convert what is after the comma to the begining and the begining of the comma to the end. Example: Doe,John - convert to John Doe.


Thanks
 
Here ya go...

strName = mid(strName, instr(strName, ",") + 1) & " " & left(strName, instr(strName, ",") - 1)

Cheers!
 

Users who are viewing this thread

Back
Top Bottom