Recently, we have had a problem when pasting Excel charts into Word documents. Normally this is done using a macro, but the same problem occurs when pasting an individual chart manually within Word.
When pasting unlinked, the full chart appears; when pasting as a link, the chart is cropped at the right.
(Sample attached) [edit: see later post for attached files]
Any ideas why this is happening, or how to fix change the macro so that cropping does not occur? This is the current form of the macro:
Sub Paste_chart_link_18cm() ' Selection.PasteSpecial Link:=True, DataType:=wdPasteOLEObject, Placement:= _ wdInLine, DisplayAsIcon:=False Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdExtend Selection.InlineShapes(1).LockAspectRatio = msoTrue Selection.InlineShapes(1).Height = CentimetersToPoints(11.8) Selection.InlineShapes(1).Width = CentimetersToPoints(18) End Sub
I tried adding
Selection.InlineShapes(1).PictureFormat.CropRight = 0#
but that did not help.
Using: Word 2010, Excel 2010, Windows XP