Excel VBA – 在我的工作表上插入GIFanimation

我有一个animationgif文件。 当我的macros运行时,如何让这个animation出现在我的工作表上1,然后在macros完成时closures?

我试图添加gif作为图片…然后添加一个webbrowser命令窗口和命令button。 我打算写下面的命令button代码…

Private Sub CommandButton1_Click() WebBrowser1.Navigate1 ("C:\Users\smorfett\Desktop\progress.gif") End Sub 

…但是,我得到一个“对象不支持这个属性或方法”

谢谢

我find了解决scheme…

 Private Sub CommandButton1_Click() WebBrowser1.Navigate "C:\Users\smorfett\Desktop\progress.gif" End Sub