Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to pass data from UserForm to spreadsheet | Excel Programming | |||
Pass variable from module to userform and back | Excel Programming | |||
Pass public variable from one userform to a second... | Excel Programming | |||
can a userform pass an argument? | Excel Programming | |||
How to pass arguments from ThisWorkbook to a UserForm | Excel Programming |