PDA

View Full Version : VBA Load Image from URL



BerkayE
11-26-2019, 09:49 AM
Hello, I'd like to load an image from a url, and I'd like the image to re-load every time someone clicks a button. The image url is a live-cam, so the image would be different every time. I don't know how to do this, and what kind of object I need to insert for the image, etc.

I found guides for excel but didnt find any for powerpoint.

https://www.tpsgc-pwgsc.gc.ca/citeparlementaire-parliamentaryprecinct/newhillcam.jpg

John Wilson
11-27-2019, 04:30 AM
The only way I can think off would be to insert a Microsoft webBrowser object with a button to load the Url. Unfortunately Microsoft prevent you from doing this by default as they consider Script able objects a security risk. You can remove the killbit in the registry but it is hard to find the correct key and unless you are expert I wouldn't go there.

here is the MSFT page on this
https://docs.microsoft.com/en-us/office365/troubleshoot/administration/insert-scriptable-activex-control