Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default VBA Code to Export Data from Chart

I have a chart that is automatically produced from Cognos. I export the data
into Excel, but the data for X and Y axis is contained in the chart. How do
I export that data into a spreedsheet?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default VBA Code to Export Data from Chart

Cognos Impromptu?
I don't work with it directly myself, but our accounting department uses it
to extract data from databases. Don't know that they build any charts with
it. But... since data for a chart must becoming from a query somewhere,
couldn't you create a query or to provide the data that's being used to make
the chart as a table and then export the table to Excel?

"Curt J" wrote:

I have a chart that is automatically produced from Cognos. I export the data
into Excel, but the data for X and Y axis is contained in the chart. How do
I export that data into a spreedsheet?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default VBA Code to Export Data from Chart

In case I missed the mark entirely, perhaps this link will help you:
http://support.microsoft.com/kb/300643
Article (with code) title: Macro to extract data from a chart in Excel


"Curt J" wrote:

I have a chart that is automatically produced from Cognos. I export the data
into Excel, but the data for X and Y axis is contained in the chart. How do
I export that data into a spreedsheet?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 469
Default VBA Code to Export Data from Chart

This link was exactly what I was looking for! Thank you so much.

If you can do this last step then great, but if not you've already been so
helpful.

Is it possible for you to always select the same chart from a partficular
sheet?
For example, the active chart is always in "sheet4" No other charts ever
exist in "sheet4".

thanks!

Curt J
"JLatham" wrote:

In case I missed the mark entirely, perhaps this link will help you:
http://support.microsoft.com/kb/300643
Article (with code) title: Macro to extract data from a chart in Excel


"Curt J" wrote:

I have a chart that is automatically produced from Cognos. I export the data
into Excel, but the data for X and Y axis is contained in the chart. How do
I export that data into a spreedsheet?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default VBA Code to Export Data from Chart

Excel 2007
Get xy data and name from a non-embedded chart.
http://c0444202.cdn.cloudfiles.racks.../11_21_09.xlsm
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
Chart Export Magimasta Charts and Charting in Excel 3 July 29th 09 03:38 PM
How do i export a pivot chart as a static chart object? James Charts and Charting in Excel 2 November 11th 08 10:05 PM
Export pie chart to PDF Pie chart1 Charts and Charting in Excel 0 October 1st 08 07:27 PM
Chart.Export images are shrinking as I export more images Jared Charts and Charting in Excel 3 January 29th 08 03:23 AM
best way to export chart Richard Excel Discussion (Misc queries) 4 October 26th 06 03:00 PM


All times are GMT +1. The time now is 08:57 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"