|
-
Jun 6th, 2000, 07:00 PM
#1
Thread Starter
Lively Member
Hi there,
I've been looking around for examples on 'Select Case', changed around bits of code, but it hasn't helped.
Simply, what I have is a command button and a text box. When the command button is clicked, new text appears in the textbox - depending on the code in that particular part of the case statement.
What am I doing wrong?
Thank you
Private Sub Command1_Click()
Select Case Text1.Text
Case 1
Text1.Text = "aaaa"
Case 2
Text1.Text = "bbbb"
Case 3
Text1.Text = "cccc"
End Select
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|