ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Copying Excel 2007 Charts as picture into Word (https://www.excelbanter.com/charts-charting-excel/259803-copying-excel-2007-charts-picture-into-word.html)

Ken

Copying Excel 2007 Charts as picture into Word
 
Having a heck of a time trying to automate a process where we copy Excel 2007
charts and paste to a Word document as pictures. The code works and copies
all of the relevant ranges from Excel. But when pasting to Word the chart
disappears? Not a problem when the desired exhibit being pasted is all text
from Excel. But for some reason the chart object (and it doesn't matter what
kind of chart, line, bar, pie, etc.) won't copy over to the Word document.
Never had this problem in earlier versions of Excel. Always pasted charts
fine.

Copying out of Excel using:
objXL.Range("Exhibit_ALM3g").CopyPicture xlScreen, xlPicture

Pasting to Word using:
objWord.Selection.Paste

Anybody else having trouble copying out chart objects from Excel 2007 and
pasting to Word??


All times are GMT +1. The time now is 11:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com