hearthhrob4gals
Board Regular
- Joined
- Aug 20, 2014
- Messages
- 142
Hi Experts,
i have 24 imageboxes on userform and depending on the section, these listboxes should appear. for example, if user selects 4 from the listbox, only the first 4 listboxes should appear. post that i have to adjust the hight and width of the imagebox since if 4 images are to be shown, they should b adjusted in such a way, that the entire form should be covered.
i cant go and manually and set the visibility to true or false..it will take ages....
is there any other way where i can make the image name dynamic....like a.visible=true where a is my image1?
i have 24 imageboxes on userform and depending on the section, these listboxes should appear. for example, if user selects 4 from the listbox, only the first 4 listboxes should appear. post that i have to adjust the hight and width of the imagebox since if 4 images are to be shown, they should b adjusted in such a way, that the entire form should be covered.
i cant go and manually and set the visibility to true or false..it will take ages....
is there any other way where i can make the image name dynamic....like a.visible=true where a is my image1?