![]() |
#6
|
|||
|
|||
![]()
Again, the code I provided would go in the UserForm DD1_Click event or a command button click event of the userform. If you want to use DD1 in an external procedure as you've done then you would need to passed a form object as an argument to the that procedure e.g.,
In a UserForm command button click event procefure LockDD1 Me In an external procedure: Sub LockDD1(oFrm as Object) Msgbox oFrm.DD1.Value End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Jamal NUMAN | Excel | 16 | 11-15-2022 11:59 PM |
Countif statements | Alaska1 | Excel | 5 | 02-05-2015 07:55 PM |
![]() |
stuwoolf | Excel | 2 | 01-10-2015 01:58 PM |
![]() |
Alaska1 | Excel | 1 | 05-14-2014 08:21 AM |
IF statements that shifts to right. | kent | Excel | 0 | 01-19-2006 02:23 PM |