//login code
//log out code
try with the above idea.
Code:
PhoneNumbers="1,2,3,4,5,6"
Phno=Split(PhoneNumbers,",")
For i=0 to Ubound(Phno)
Code to enter phone number
Next
try with the above idea.