automation adding a chart to a word document

A

andreas

Hi,
I can not add a chart to a word document
I have the following code

......

.......

xlblad.Range("A1:B3").Select()

xxlChart = xlprog.Charts.Add()

'here i would copy the chart into the clipboard

lprog.Visible = True

Dim wrd As New Word.Application()

Dim wrdDoc As New Word.Document()

wrdDoc = wrd.Documents.Add

' and here i would copy the chart from the clipboard into the wrddoc

Thanks for any response
 

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