VBA Macro to Copy Range and Paste range to PPT as

2019-08-14 02:35发布

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.

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

1条回答
The star\"
2楼-- · 2019-08-14 03:00

something like this

Sub BetterPicturePaste()

    '...other stuff...

    Windows(1).Sheets(1).Range("myrange").Copy
    Windows(2).View.PasteSpecial DataType:=ppPasteEnhancedMetafile

End Sub
查看更多
登录 后发表回答