Changing the image in an imagebox using VBA?

  • Thread starter Thread starter Kenji
  • Start date Start date
K

Kenji

I have a Image box from VB Control Bar. I want to be able to change the
image in that imagebox using VBA. Is there a way I can do this? Thanks!

Kenjiro Yagi
 
Hi Kenjiro ,

Use the LoadPicture method.

Image1.Picture = LoadPicture("mypic.bmp")

Cheers
Andy
 
Back
Top