vba powerpoint 2007 insert picture from url -


this code works on vba powerpoint 2013

but when try use in office 2007 error

picture_url = "https://msdn.microsoft.com/dynimg/ic820563.png"

l = 0: t= 0 : w = 100 : l = 100

set opic = pppres.slides(1).shapes.addpicture(picture_url, false, true, l, t, w, h)

what's wrong? checked function addpictureand found in office12 library

i found answer here https://answers.microsoft.com/en-us/office/forum/office_2007-customize/downloading-an-image-from-internet-using-vba/f390d953-9b1a-40c5-bb52-3bad14074943 have remove outline each time :)


Comments