teacher_widi

Untitled

May 13th, 2017
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Private Sub Command2_Click()
  2.     Dim data As String
  3.     Dim x As Variant
  4.    
  5.     data = "01-10-0000014"
  6.     x = Split(data, "-")
  7.     For i = 0 To UBound(x)
  8.         Debug.Print "x" & i & " --> " & x(i)
  9.     Next i
  10. End Sub
Advertisement
Add Comment
Please, Sign In to add comment