I have a macro that copies from a small word document to a main word document, inserting at a bookmark. The content that is copies is within a table and has various rows and columns containing data and a few images.
My code is as follows:
Set SmallDoc = Documents.Open("small.doc")
Selection.WholeStory
Selection.Copy
'Paste document content at bookmark
Set MasterDoc = Documents.Open("main.doc")
Selection.GoTo What:=wdGoToBookmark, Name:="placeToPaste"
Selection.Paste
Issue:
The formatting is mostly kept, except the images transfer across and look as though they are cut off. Is there a way to keep the entire source formatting or some way to fix this issue?
Although I can’t seem to find if it’s possible to ensure source formatting is kept, in my particular case this was helpful in keeping the images displaying correctly: