LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default question about - excel macro copy chart to word document

I wish to make an excel makro which append a chart to open word file.
(format as picture). Then it returns to excel. It would be useful
also to clear the clipboard after this.



I succeded to make makro which transfer chart to clipboard and then
make word as active.

In Tools - references I also assign Microsoft word 10.0 Object
library.

This macro is:

Sub Makro2()
'
Dim exc As Excel.Workbook, wor As Word.Application
ActiveChart.ChartArea.Copy
Set wor = GetObject(, "word.application")
wor.Visible = True
wor.Activate
End Sub

I please for macro, which will copy this chart to open word document.

Regards and thank for help
Jani
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to insert a word document onto an Excel Chart rb22 Excel Discussion (Misc queries) 1 June 16th 09 06:04 PM
how do i copy an excel spreadsheet into word document with a table db Excel Discussion (Misc queries) 1 January 23rd 08 03:16 PM
EXCEL chart into Word document Perplexed Excel Discussion (Misc queries) 0 December 9th 07 09:51 PM
Copy table from Word Document to Excel Mythili Excel Discussion (Misc queries) 0 May 3rd 07 10:50 AM
How do I copy a Word document into Excel and have it look good? djsgrammy Excel Discussion (Misc queries) 2 February 7th 06 11:36 PM


All times are GMT +1. The time now is 11:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"