Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jason,
As Juan Pablo noted, you can accomplish this at design time. Here's how you could do it at runtime: Private Sub UserForm_Initialize() Dim ctl As Control For Each ctl In Controls If TypeOf ctl Is MSForms.Image _ Then ctl.Visible = False Next ctl End Sub -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored] Jason Morin wrote: Upon initializing, I need to set the visible property for all images on a user form (named "Game") to false. Having trouble. Thx. Jason |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cycle through images on UserForm | Excel Discussion (Misc queries) | |||
Global value does not retain value when UserForm is hide | Excel Programming | |||
Userform.hide / show | Excel Programming | |||
Hide/Show modeless userform when activating/deactivating workbooks | Excel Programming | |||
hide a textbox on a userform? | Excel Programming |