Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image 如何在excel工作表中显示url中的图像(2003)_Image_Excel_Excel 2003_Imageurl_Vba - Fatal编程技术网

Image 如何在excel工作表中显示url中的图像(2003)

Image 如何在excel工作表中显示url中的图像(2003),image,excel,excel-2003,imageurl,vba,Image,Excel,Excel 2003,Imageurl,Vba,如何编写用于显示的宏 图片从网址,我在一个 excel 2003中的单元格 有人能帮忙吗 提前感谢。最近有一个关于这方面的问题,也询问了重新调整大小以适应单元格的问题 以下是您需要开始的4行代码: Sub InsertPicFromURL() Dim pic As String 'file path of pic Dim myPicture As Picture 'embedded pic pic = "http://www.gravatar.com/avatar/4d3ac4ebeddc

如何编写用于显示的宏 图片从网址,我在一个 excel 2003中的单元格

有人能帮忙吗


提前感谢。

最近有一个关于这方面的问题,也询问了重新调整大小以适应单元格的问题

以下是您需要开始的4行代码:

Sub InsertPicFromURL()

Dim pic As String 'file path of pic
Dim myPicture As Picture 'embedded pic

pic = "http://www.gravatar.com/avatar/4d3ac4ebeddcf958a7b8d3e73c2c6805?s=128&d=identicon&r=PG"
Set myPicture = ActiveSheet.Pictures.Insert(pic)

End Sub

在web浏览器或Excel工作表中显示此图片的位置??