User (Legacy) Posted March 9, 2004 Report Share Posted March 9, 2004 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 More sharing options...
User (Legacy) Posted March 9, 2004 Author Report Share Posted March 9, 2004 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 More sharing options...
Software FX Posted March 9, 2004 Report Share Posted March 9, 2004 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. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 10, 2004 Author Report Share Posted April 10, 2004 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.