This Excel VBA code used to work perfectly for over 100 Word documents displaying metrics that consist of several shapes, charts, etc.
The goal is to save the Word document as an image file since the monitor that displays the metrics don't support Word.
But now .PasteSpecial results in only the partial document remaining when the image file is created. I have NO idea how this happened.
The goal is to save the Word document as an image file since the monitor that displays the metrics don't support Word.
But now .PasteSpecial results in only the partial document remaining when the image file is created. I have NO idea how this happened.
Code:
With wdapp.Selection
.WholeStory
.Copy
.PasteSpecial Link:=False, DataType:=wdPasteEnhancedMetafile, Placement:=wdInLine, DisplayAsIcon:=False
End With
Last edited: