Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do i paste a chart into a word document
Message
De
19/11/1999 05:54:52
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
How do i paste a chart into a word document
Divers
Thread ID:
00292940
Message ID:
00292940
Vues:
71
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
Répondre
Fil
Voir

Click here to load this message in the networking platform