Consulting

Results 1 to 2 of 2

Thread: VBA Load Image from URL

  1. #1
    VBAX Newbie
    Joined
    Aug 2019
    Posts
    3
    Location

    Arrow VBA Load Image from URL

    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/citepa...newhillcam.jpg

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    1,898
    Location
    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/off...ctivex-control
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •