R
Rich
In my Excel app I have a button on a worksheet which opens a UserForm. I
need to pass a value to the userform. I was thinking the Initialize event of
the userform operated similar to a constructor. So I tried passing a value
as follows - which did not work:
frm1.Show "test1"
------------------------------------
Private Sub frm1_Initialize(s1 as string)
debug.print s1
End Sub
how to pass a value to the userform from the calling control?
Thanks,
Rich
need to pass a value to the userform. I was thinking the Initialize event of
the userform operated similar to a constructor. So I tried passing a value
as follows - which did not work:
frm1.Show "test1"
------------------------------------
Private Sub frm1_Initialize(s1 as string)
debug.print s1
End Sub
how to pass a value to the userform from the calling control?
Thanks,
Rich