Hi,
I'm working on an app in which the user enters multiple items (s3txt2) into a value list (s3lst3):
Private Sub s3btn2_Click()
s3txt2.SetFocus
If Trim(s3txt2.Text) <> "" Then
s3lst3.AddItem (s3txt2.Text)
End If
s3txt2.Text = ""
End Sub
However, when the code is trying to loop through all items selected it only reads 1 item. ( s3lst3.ItemsSelected.Count = 1)
Is there another way of creating an array so I'm able to capture the correct COunt of Items entered?
Thank you!
I'm working on an app in which the user enters multiple items (s3txt2) into a value list (s3lst3):
Private Sub s3btn2_Click()
s3txt2.SetFocus
If Trim(s3txt2.Text) <> "" Then
s3lst3.AddItem (s3txt2.Text)
End If
s3txt2.Text = ""
End Sub
However, when the code is trying to loop through all items selected it only reads 1 item. ( s3lst3.ItemsSelected.Count = 1)
Is there another way of creating an array so I'm able to capture the correct COunt of Items entered?
Thank you!