Thread: Loading images
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Jason Morin[_3_] Jason Morin[_3_] is offline
external usenet poster
 
Posts: 18
Default Loading images

Gracias. Ahora funciona perfectamente.

-----Original Message-----
What I do is this:

For i = 1 to 3
Game.Controls("Image" & i).Object.Picture =

LoadPicture("C:\...")
Next i

--
Regards,

Juan Pablo González

"Jason Morin" wrote

in message
...
I'm loading pictures into Image1, Image2, Image3 on a
useform called "Game". Here's what I have:

For i = 1 To 3
Game.Image & i.Picture = LoadPicture("C:\....")
Next i

The "Image & i" is erroring. What's the correct syntax?
Thx.
Jason



.