Hi again Nigel,
Sorry, doesn't work. The problem is that, if cma(3) doesn't exist, the code does nothing.
I.e. if the string is 192.168.x.y, aa, bb, cc & I do thisMsgBox "0: " & cma(0) & " 1 :" & cma(1) & " 2 :" & cma(2) & " 3: " & cma(3) then it returns 0: 192.168.xx.yy 1: aa 2: bb 3: cc...