Dynamic picture to a form?

Jaymond Flurrie

Well-known Member
Joined
Sep 22, 2008
Messages
921
Office Version
  1. 365
Platform
  1. Windows
Any ideas how I could overwrite a picture file with another picture so that my VBA form would after that show the new picture? It doesn't need to happen on the fly, the idea is that my customer doesn't know what picture there should be and I'd like to say "ok, once you decide, just overwrite this one here with the picture of your choice".
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
This post might help you:

http://www.mrexcel.com/forum/showthread.php?t=516887

That was describing how to change images on the fly. It was referring to an image, but you can adopt the same approach to the Form's Picture property.

The key decision is whether you want to embed the image or link it to a source file. If you do the latter, your easiest solution would be to overwrite the linked image with a different image using the same filename.
 
Upvote 0
This post might help you:

http://www.mrexcel.com/forum/showthread.php?t=516887

That was describing how to change images on the fly. It was referring to an image, but you can adopt the same approach to the Form's Picture property.

The key decision is whether you want to embed the image or link it to a source file. If you do the latter, your easiest solution would be to overwrite the linked image with a different image using the same filename.

Yeah, I just thought to tell my customer that "replace this "logo.jpg" here with your "logo.jpg" and it'll appear on the form", so exactly like you wrote. Thanks for the link!
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,876
Members
452,949
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top