Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do i paste a chart into a word document
Message
From
19/11/1999 05:54:52
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
How do i paste a chart into a word document
Miscellaneous
Thread ID:
00292940
Message ID:
00292940
Views:
72
I have set up a chart in vb6 and have a word document that i want to paste it into. Using MSChart1.EditCopy puts two versions of it in the clipboard so when i do: WordDoc.EditPaste all i get is the row and column data and not the picture of the chart itself.

What command do i need to call to paste the graphic in rather than just the data. The menu option in word is: Edit->paste special and then selecting a graphic.

this is essentialy my code:

MSChart1.EditCopy

Set WordDoc = CreateObject("word.basic")
WordDoc.FileNew "c:\tester.dot"

WordDoc.EditPaste

WordDoc.AppShow


Ashley Cottle
AssureSoft
ashley.cottle@assuresoft.com
Reply
Map
View

Click here to load this message in the networking platform