Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Code to return the data a chart is based on

Anone know of an method in VBA which will return the data series an
existing graph or chart is based on?

I cannot I find any code to return the data series that a chart is
based on. (i.e. return "C4:C7"). It seems an obvious thing to want to
do but ...


Andrew


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Code to return the data a chart is based on

See John Walkenbach's discussion of this:

http://j-walk.com/ss/excel/tips/tip83.htm
A Class Module to Manipulate a Chart SERIES

--
Regards.
Tom Ogilvy


dracstorey wrote in message
...
Anone know of an method in VBA which will return the data series an
existing graph or chart is based on?

I cannot I find any code to return the data series that a chart is
based on. (i.e. return "C4:C7"). It seems an obvious thing to want to
do but ...


Andrew


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Code to return the data a chart is based on

Many thanks Tom. I'm glad he says there is a serious flaw (I thought I
was going mad!). I will try his code and hopefully it will solve the
problem.

Thanks again

Andrew


---
Message posted from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Code to return the data a chart is based on

Problem nearly solved. I have very nearly integerated the code into
mine. Just a couple of bugs for me to deal with but therange is indeed
returned!

Many thanks

Andrew


---
Message posted from http://www.ExcelForum.com/

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
return multiple rows of data based on criteria steve_sr2 Excel Worksheet Functions 8 May 20th 23 07:47 PM
Return Corresponding Value Based on Comparing Two Sheets of Data PaulQ Excel Worksheet Functions 6 March 12th 10 05:23 PM
Return an array of data based on range of date Ken King Excel Worksheet Functions 3 February 27th 09 06:02 PM
HOW ?Excel chart auto insert /populate a code based on date MikeR-Oz New Users to Excel 6 December 22nd 05 12:16 PM
have a cell return one of severl lists based on data from another d6j9s Excel Discussion (Misc queries) 2 June 10th 05 01:18 AM


All times are GMT +1. The time now is 06:44 AM.

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

About Us

"It's about Microsoft Excel"