0 Members and 1 Guest are viewing this topic.
Public Sub RunMe() Dim myFormInstance As MyForm Set myFormInstance = New MyForm With myFormInstance .Label1.Caption = "A caption." .TextBoxMsg.Text = "Some text." End With myFormInstance.Show Unload myFormInstance End Sub
question, is MyForm part of the dvb that contains RunMe? if so, you shouldn't have to load it.2nd thing - I dont know why it doesn't work. I will go test it