by RATS (1 Submission)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 15th September 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Write in a text box alternating upper and lower case ... using vbstrconv Just add a TEXTBOX and a COMMAND BUTTON. If you paste the code in the
API Declarations
Dim d, f, u As String
Private Sub Command1_Click()
For i = 1 To Len(Text1.Text) Step 2
u = StrConv(Mid(Text1.Text, i, 1), vbUpperCase)
f = StrConv(Mid(Text1.Text, i + 1, 1), vbLowerCase)
d = d & u & f
Next
Me.Text1.Text = d
d = ""
End Sub
No comments have been posted about Write in a text box alternating upper and lower case ... using vbstrconv Just add a TEXTBOX and a C. Why not be the first to post a comment about Write in a text box alternating upper and lower case ... using vbstrconv Just add a TEXTBOX and a C.