Private Sub Command1_Click()Text1.Text = "123,456,789"Dim aa = Split(Text1.Text, ",")Dim bReDim b(0 To UBound(a)) As IntegerDim i As IntegerFor i = 0 To UBound(b) b(i) = Val(a(i)) Print b(i)Next iEnd Sub