将图像复制到文件 [英] Copy image to file

查看:62
本文介绍了将图像复制到文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用vba将图像复制到表格或obutton上的文件

i需要代码请

How do i copy images to file which are on form or obutton using vba

i need code please

推荐答案

@nikhilkajrekar


这些图片如何包含在表格中?它们是嵌入式还是链接式?这些图像的格式是什么?等等...
@nikhilkajrekar
How are these Images contained within the Form? Are they Embedded or Linked? What Format are these Images in?, etc...


用于嵌入所有类型的格式
for embaded all types of format


@nikhilkajrekar


表示图像的二进制数据必须从OLE对象字段中提取并写入流对象。然后将数据保存到临时文件夹中的临时文件中。我明天会发贴一份应该帮助你的附件。
@nikhilkajrekar
The Binary Data representing the Image has to be extracted from the OLE Object Field and written to a Stream Object. The data is then saved to a Temporary File in a Temporary Folder. I''ll post an Attachment tomorrow that should help you.


这篇关于将图像复制到文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆