Use the Split function.
VB Code:
Private Sub Command1_Click() Dim Coords As String Dim vArray As Variant Coords = "1024,768" vArray = Split(Coords, ",") MsgBox vArray(0) & vbCrLf & vArray(1) End Sub
|
Results 1 to 2 of 2
Thread: Can you help me?Threaded View
|
Click Here to Expand Forum to Full Width |