Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Image Array?

Status
Not open for further replies.

danomaniac

Programmer
Jan 16, 2002
266
US
Hi - I have an excel sheet with 5 image controls -

I'm loading pictures using the loadpicture method which works fine - however I have to send the pictures with the workbook - I'd like to have all the pictures on a seperate sheet in image controls, i.e. sheet2.image1, sheet2.image2, etc - then when I need a picture on sheet 1 ;

now it's like this and works but is clumsy:
select case y
case 1: sheet1.image1.picture = sheet2.image1.picture
case 2: sheet1.image1.picture = sheet2.image2.picture
etc....
end select

I want to do it like this but can't figure it out...

sheet1.image1.picture = sheet2.image(x).picture


"It's more like it is now, than it ever has been."
 


Hi,

How to use the Watch Window as a Power Programming Tool faq707-4594

Skip,

[glasses] [red][/red]
[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top