Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sam,
see if this helps. code goes behind your form Dim ctl As Control For Each ctl In Me.Controls ctl.Visible = True MsgBox ctl.Name Next -- jb "sam" wrote: Hi All, How do I locate objects on userform based on the VBA code? For eg: I have some events like StudentYes_Click and StudentNo_Click in the VBAProject and there is some code in those events. I tried Debug -- Compile but didnt get any compile errors. So I am assuming I have those two radio buttons somewhere on the userform, But I am not able to find them. Is there a way to resolve this? how do I find those two radio buttons? Thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Userform Objects | Excel Programming | |||
VB Code Help - locate and sum | Excel Discussion (Misc queries) | |||
Code can't locate filename | Excel Programming | |||
Apply vba code to multiple userform objects | Excel Programming | |||
Apply vba code to multiple userform objects | Excel Programming |