So far I got all my chart objects to copy and paste into word. However when I paste into word it just paste one ontop of the other. I want it to paste one after the other, but it doens't work
This is my code:
This is my code:
Code:
Public Sub ExportExcelGraph(wdObj As Word.Application, wdDoc As Word.Document)
Dim PC As ChartObject
Dim Wsht As Worksheet
On Error GoTo ErrHandler
For Each Wsht In ThisWorkbook.Worksheets
For Each PC In Wsht.ChartObjects
PC.Activate
ActiveChart.ChartArea.Select
ActiveChart.ChartArea.Copy
wdObj.Selection.PasteSpecial Link:=False, DataType:=wdPasteEnhancedMetafile, _
Placement:=wdOneAfterAnother, DisplayAsIcon:=False
Next PC
Next Wsht
ErrHandler:
Resume Next
End Sub