4623| 7
|
[求助] 求大虾帮忙插入图片问题 |
10测试积点
最佳答案Dim xlapp,xlfile,xlsheet
Set xlapp=CreateObject("Excel.application")
Set xlfile=xlapp.Workbooks.Open("C:%users\Administrator\Desktop\book2.xls")
Set xlsheet=xlfile.sheets("sheet1")
'改名字
xlsheet.name="MyName"
xlsheet.select
'插图片
xlsheet.pictures.insert("C:%users\Administrator\Pictures\11_200806051032521eXmU_thumb.jpg")
xlfile.save
xlfile.Close
xlapp.Quit
Set xlsheet=Nothing
Set ...
| ||
相关帖子 |
||
| ||
| ||
| ||
小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 ) 关于我们
GMT+8, 2024-11-11 20:10 , Processed in 0.072413 second(s), 27 queries .
Powered by Discuz! X3.2
© 2001-2024 Comsenz Inc.