austin350s10
Active Member
- Joined
- Jul 30, 2010
- Messages
- 321
Does anyone know a good vba function to take a string containing a name formatted as: lastname, firstname and convert it to firstname lastname?
something like:
something like:
Code:
Sub convertIt()
Dim myName, newName as String
myName = "Smith, Bob"
newName = convertName(myName)
MsgBox = newName
End Sub
Function convertName(passedName As String)
'do stuff
End Function
'output should be "Bob Smith"