Word and PasteSpecial

T

Tor

Hi!

I’m copy a graph from excel, and I want to paste it into a word document at
a named bookmark.

I use the code:

Wrd.ActiveDocument.bookmarks.Item("InsertPic").Range.Select
Wrd.Selection.Range.PasteSpecial Link:=False, DataType:=wdPasteBitmap, _
Placement:=wdInLine, DisplayAsIcon:=False

The bitmap are only partly visible (one line) at the bottom of the image. If
i click on the image in the document, the whole image are selected and shown
as an empty frame.

In the help text for the method I read. "When you use this method, the range
or selection doesn't expand to include the contents of the Clipboard."

How can I paste the Excel graph into my document, so the graph are visible?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top