Jump to content
Software FX Community

How to copy a chart programmatically to MS Word?


User (Legacy)
 Share

Recommended Posts

I forgot to mention a few details. I use ChartFX Client-Server 5.0 in VB6.

I've tried chart.export METAFILE, but this doesn't seem to work, I don't get

the picture in Word.

"Henk Borsje" <hjborsje@alert-systems.com> wrote in message

news:7qxwY4dBEHA.200@webserver3.softwarefx.com...

> Dear tech support,

>

> I have to copy a large number of charts to a MS Word document. The user

> normally copies a chart to the clipboard, followed by a paste in Word. Is

> there a way to do this programmatically?

>

> Thanks for your help.

>

> Henk Borsje

>

>

Link to comment
Share on other sites

  • 1 month later...

Softwarefx KB article Q1381089 shows some rudimentary code to export the 

chart to MS Word. I haven't tested it.

- Jon

SoftwareFX Support wrote:

> The part were you copy it to the clipboard is pretty easy simply call:

>

> chart.Export CHART_METAFILE, ""

>

> This will export the chart to the clipboard as a metafile.

>

> Inserting it into a word document will require automation with MS Word that

> falls out of the scope of my expertise.

>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...