Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[blue]Option Explicit
Private MyScript As ScriptControl
Private Sub CommandButton1_Click()
Set MyScript = New ScriptControl
MyScript.Language = "vbscript"
MyScript.AddObject "userform1", UserForm1, True
UserForm1.ComboBox1.AddItem "hello2"
End Sub
Private Sub CommandButton2_Click()
Dim temp As String
temp = "Userform1.combobox1.Clear"
MyScript.ExecuteStatement temp
End Sub[/blue]
For i = 1 To 10
QserForm1.Controls("Label" & i).Caption = "whatever " & i
Next