Bitmap object in VBA

3 Posts
2 Users
0 Likes
16 Views
(@admin_doc72)
Posts: 493
Member Admin
Topic starter
 

Hello

Is it possible to dynamically change the file associated with an image object in VBA ?

Thanks a lot

 
Posted : 22/03/2016 2:40 pm
fl.chen
(@fl-chenarcinfo-com)
Posts: 170
Reputable Member
 

Hi,

Yes, you can try using activeX control "InkPicture". What you need to execute is:

InkPicture1.Picture = LoadPicture("C:UsersuserPicturesPcVueSolution.jpg")

BRS,
Mark

 
Posted : 22/03/2016 2:54 pm
(@admin_doc72)
Posts: 493
Member Admin
Topic starter
 

Thanks a lot

I didn't know this ActiveX, exactly waht I was looking for.

 
Posted : 22/03/2016 4:04 pm