[vba]
Dim sName As String
Dim aryNames As Variant
'myString = "Micka, mickova"
sName = myString
aryNames = Split(Replace(sName, " ", ""), ",")
Range("H1:H2") = Application.Transpose(aryNames) -waht does this do ????
Range("M1:N1") = aryNames - what does this do ????
[/vba]
I have a problem getting also first name then I would like to have first and last name
like this:
mystring1 = Micka
Mystring2 = Mickova
Are those lines necesary
[VBA]
Range("H1:H2") = Application.Transpose(aryNames) -waht does this do ????
Range("M1:N1") = aryNames - what does this do ????
[/VBA]
Any ideas
Thnx