MarkNumskull
02-23-2011, 01:49 PM
Hi All,
I have been doing alot of head scratching with this and searching but can't really find anything conclusive so maybe you can help.
I want to write a bit of VBA that will simply loop through all images on a frame and resize them on a mouseover event. I am assuming there is a function available using something like For Each Image in Me.Frame6 etc but i just cannot seem to get anything to work.
To make it a bit more tricky each image has an actual name rather than just image1, image2 etc which would be easy to loop through. Having names such as btnSearch etc means i cannot do this.
Does anybody know how to loop through images on a frame?
Thanks,
Mark
I have been doing alot of head scratching with this and searching but can't really find anything conclusive so maybe you can help.
I want to write a bit of VBA that will simply loop through all images on a frame and resize them on a mouseover event. I am assuming there is a function available using something like For Each Image in Me.Frame6 etc but i just cannot seem to get anything to work.
To make it a bit more tricky each image has an actual name rather than just image1, image2 etc which would be easy to loop through. Having names such as btnSearch etc means i cannot do this.
Does anybody know how to loop through images on a frame?
Thanks,
Mark