Ok, long story short, i have a userform named "UserFormSPHIX" and I need to set that equal to some type of object or variable named "oUserForm" so that the following piece of code will execute properly:
oUserForm.Label1.Caption = "generic string of text"
The code i currently have looks like this:
Dim oUserForm as UserForm
set oUserForm = UserFormSPHIX
oUserForm.Label1.Caption = "generic string of text"
however, this does not change the caption of label1. It doesn't give me any error message, it just doesn't do anything! Any help would be GREATLY appreciated!
oUserForm.Label1.Caption = "generic string of text"
The code i currently have looks like this:
Dim oUserForm as UserForm
set oUserForm = UserFormSPHIX
oUserForm.Label1.Caption = "generic string of text"
however, this does not change the caption of label1. It doesn't give me any error message, it just doesn't do anything! Any help would be GREATLY appreciated!