Private Sub Command1_Click()
Dim ch As String, s As String
Dim i As Integer, j As Integer
ch = Text1.Text
For i = 1 To
j = Asc(Mid(ch, i, 1))
If j > 96 And j < 123 Then
s = s + Chr(j - 32)
Else
s = s + Chr(j)
End If
Next
End Sub
微信扫码预览、分享更方便