VBA宏复制范围和粘贴范围到PPT作为图片 [英] VBA Macro to Copy Range and Paste range to PPT as Picture
本文介绍了VBA宏复制范围和粘贴范围到PPT作为图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
需要帮助将单元格范围从 excel sheet1 复制到 PowerPoint 文件并将其粘贴为图片并使该图片自动适合幻灯片.
Need help to copy range of cells from excel sheet1 to PowerPoint file and paste it as Picture and make that picture fit inside the slide automatically.
我目前使用 Snagit 软件截取工作表的屏幕截图并使用发送到 powerpoint,但这需要很多时间.
I currently use Snagit software to take screenshot of the sheet and use send to powerpoint but it take lots of time.
任何反馈都会很好地自动化这个过程
Any feedback would be nice to automate this process
推荐答案
类似这样的事情
Sub BetterPicturePaste()
'...other stuff...
Windows(1).Sheets(1).Range("myrange").Copy
Windows(2).View.PasteSpecial DataType:=ppPasteEnhancedMetafile
End Sub
这篇关于VBA宏复制范围和粘贴范围到PPT作为图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文