View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Hide all images on userform

Dim ctrl as Control
for each ctrl in Game.Controls
if typeof ctrl is MSForms.Image
then ctrl.Visible = False
end if
Next

--
Regards,
Tom Ogilvy

"Jason Morin" wrote in message
...
Upon initializing, I need to set the visible property for
all images on a user form (named "Game") to false. Having
trouble. Thx.
Jason