Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Exporting Excel Graphs

I'm building an Office Application including Excel using Office 2000
Professional running under XP Pro (SP2)

I have embedded several Excel tables and associated graphs in a Word
document using VBA. The problem is that a number of surplus table rows are
appended after each graph in Word, causing unnecessary page breaks in Word,
which then have 2B manually deleted.

Each table and graph is assigned a range name in Excel. The range definition
covers the table and the graph completely which I think is causing the
problem. Does anyone know of a "clean" way to pluck out Excel tables and
graphs for embedding into Word without all those surplus table rows? eg. Is
it possible to just plug the graph into Word from Excel using VBA?


--

Richard John



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 400
Default Exporting Excel Graphs

You can save Excel charts as pictures and then include the pictures in Word:
but then, the Word copy becomes static i.e will not change if the Excel chart
changes. Is this wht you want?

"Richard John" wrote:

I'm building an Office Application including Excel using Office 2000
Professional running under XP Pro (SP2)

I have embedded several Excel tables and associated graphs in a Word
document using VBA. The problem is that a number of surplus table rows are
appended after each graph in Word, causing unnecessary page breaks in Word,
which then have 2B manually deleted.

Each table and graph is assigned a range name in Excel. The range definition
covers the table and the graph completely which I think is causing the
problem. Does anyone know of a "clean" way to pluck out Excel tables and
graphs for embedding into Word without all those surplus table rows? eg. Is
it possible to just plug the graph into Word from Excel using VBA?


--

Richard John




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Exporting Excel Graphs

"AA2e72E" wrote in message
...
You can save Excel charts as pictures and then include the pictures in
Word:
but then, the Word copy becomes static i.e will not change if the Excel
chart
changes. Is this wht you want?


This sort of happens now. I've automated Word 2000 to copy the table and the
graph from an Excel named range, into Word. This works ok, except that the
table and the graph now in a Word table give some extra rows I don't want. I
just wondered if there was some way to eliminate the extra rows from the
Excel source being copied. I tried restricting the copied range to the Excel
table and the a couple of rows that overlap the chart. Doesn't work. The
system forces me select the entire range.


Thanks

RJ

"Richard John" wrote:

I'm building an Office Application including Excel using Office 2000
Professional running under XP Pro (SP2)

I have embedded several Excel tables and associated graphs in a Word
document using VBA. The problem is that a number of surplus table rows
are
appended after each graph in Word, causing unnecessary page breaks in
Word,
which then have 2B manually deleted.

Each table and graph is assigned a range name in Excel. The range
definition
covers the table and the graph completely which I think is causing the
problem. Does anyone know of a "clean" way to pluck out Excel tables and
graphs for embedding into Word without all those surplus table rows? eg.
Is
it possible to just plug the graph into Word from Excel using VBA?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 400
Default Exporting Excel Graphs

Right click on the chart, click chart options, then Data Table and select
Show Data Table.

This will include the data you have usedto plot the chart within the
chart/picture. If you simply copies this picture in Word, would you still get
the extra rows?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Exporting Excel Graphs

Look up the responses to your post from yesterday.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

"Richard John" wrote in message
...
I'm building an Office Application including Excel using Office 2000
Professional running under XP Pro (SP2)

I have embedded several Excel tables and associated graphs in a Word
document using VBA. The problem is that a number of surplus table rows are
appended after each graph in Word, causing unnecessary page breaks in
Word, which then have 2B manually deleted.

Each table and graph is assigned a range name in Excel. The range
definition covers the table and the graph completely which I think is
causing the problem. Does anyone know of a "clean" way to pluck out Excel
tables and graphs for embedding into Word without all those surplus table
rows? eg. Is it possible to just plug the graph into Word from Excel using
VBA?


--

Richard John







Reply
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
Exporting graphs to Word kippers Excel Discussion (Misc queries) 3 April 9th 09 01:34 PM
exporting multiple graphs from excel to powerpoint JPhish Excel Discussion (Misc queries) 1 March 17th 09 04:39 PM
Are there better GRAPHS within EXCEL or Add-on graphs? Deb Charts and Charting in Excel 1 February 1st 06 01:19 PM
Automatic Graphs/ Dynamic Graphs DanielWalters6 Charts and Charting in Excel 1 January 24th 06 09:29 PM
Exporting EXCEL Graphs as .gif (image file) using VBA or VB haresh7263 Excel Programming 1 July 11th 05 02:39 AM


All times are GMT +1. The time now is 08:41 AM.

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"