Hi All,
I regularly create reports in Word which contain several charts from Excel. My preferred method of putting the charts into the reports is as follows:
1) First, I always create each chart on a separate worksheet in Excel. I then copy the chart to the clipboard.
2) In Word, I choose, Paste Special and then select “Picture (Enhanced Metafile)” as my preferred pasting method.
Here’s the rub. EVERY time I paste in a chart picture this way, it always get inserted as a floating object and it’s huge (in other words, beyond the page margins). I then have to select the graphic, choose Format Picture, change the layout to “Inline with text” and then reduce the size to a width of 6.5″ to fit within the report template. This process is really annoying, because each time I paste in the next chart, it bumps ahead of the previous chart instead of behind it.
Is there anyway of automating the paste process in such a way that it will always size the picture correctly (6.5″ wide) and always inline with text?
I have done some VBA work in Excel, but each time it is a struggle getting it right. I’ve never done any VBA work in Word, and I am assuming that some VBA will be necessary to accomplish my task.
Any help that someone can provide would be MOST appreciated!
Thanks in advance,
Drew
UPDATE ——-
I just found the following post concerning this very same subject:
Pasting Metafiles
However, when I tried the macro provided by Hans, it didn’t work for me either.
Drew