Private Sub Command1_Click()
Dim nian, yue, ri As Integer
Dim sfzh As String
sfzh = Text1.Text
nian = Mid(sfzh, 7, 4)
yue = Mid(sfzh, 11, 2)
riri = Mid(sfzh, 13, 2)
Text2.Text = nian
Text3.Text = yue
Text4.Text = ririEnd Sub
- THE END -
Category: Vbs
0 条评论。