H
hans
Hi,
I'm writing an asp application in wich I dynamically create an
Excel-graph.
Now I'd like to copy that graph, open word and paste it on the
apropiate bookmark.
I use the following lines of code to copy the graph:
oExcelSht.ChartObjects("Graph 1").Activate
ActiveChart.ChartArea.Select
ActiveChart.ChartArea.Copy
Then I open a word document to paste that graph into it, but I don't
find the correct syntax to do it.
I created a macro in word to see the code it produced, but don't manage
to transform it into correct asp-code. Can someone help me please?
oWordDoc.Bookmarks("product").Range.PasteSpecial Link = False, DataType
= wdPasteBitmap, Placement = wdInLine, DisplayAsIcon = False
Thanks
I'm writing an asp application in wich I dynamically create an
Excel-graph.
Now I'd like to copy that graph, open word and paste it on the
apropiate bookmark.
I use the following lines of code to copy the graph:
oExcelSht.ChartObjects("Graph 1").Activate
ActiveChart.ChartArea.Select
ActiveChart.ChartArea.Copy
Then I open a word document to paste that graph into it, but I don't
find the correct syntax to do it.
I created a macro in word to see the code it produced, but don't manage
to transform it into correct asp-code. Can someone help me please?
oWordDoc.Bookmarks("product").Range.PasteSpecial Link = False, DataType
= wdPasteBitmap, Placement = wdInLine, DisplayAsIcon = False
Thanks