标签: excel vba ole
我知道我可以像这样使用Shapes.AddPicture将图片添加到excel sheel:
sheet.ShapesAddPicture("temp.png", msoTrue, msoTrue, x, y, w, h);
因此,我可以生成位图,将其保存到磁盘,然后将其加载到Excel。但是,它非常慢。
我想将位图直接传输到Excel,而不使用temporay位图文件。有没有办法使用Excel自动化来做到这一点?