PC Review


Reply
Thread Tools Rate Thread

determining and existing charts data source

 
 
ztRon
Guest
Posts: n/a
 
      2nd Apr 2008

Is it possible to determine the range a chart is using for its datasource?

I am updating a series of list objects in a xls with a varying number of
rows and want to determine if any charts are refering to my list objects and
if they are, set the datasources to the new range.
 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      2nd Apr 2008
You can look at the series formulas. If you're doing this in VBA, you could
use John Walkenbach's class module to parse the series formulas:

http://www.j-walk.com/ss/excel/tips/tip83.htm

If you're using Excel 2003, don't formulas (including series formulas) that
refer to columns in the list update when the list expands or shrinks? If
it's 2007, the same dynamic behavior is related to tables.

If it's neither of these versions, make a chart based on dynamic names,
which update as the range changes size. No need for complex VBA. Dynamic
Charts:

http://peltiertech.com/Excel/Charts/...umnChart1.html
http://peltiertech.com/Excel/Charts/Dynamics.html

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


"ztRon" <(E-Mail Removed)> wrote in message
news:0BF40C1D-28F0-4A48-8390-(E-Mail Removed)...
>
> Is it possible to determine the range a chart is using for its datasource?
>
> I am updating a series of list objects in a xls with a varying number of
> rows and want to determine if any charts are refering to my list objects
> and
> if they are, set the datasources to the new range.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
determining the data source Henry Microsoft Excel Discussion 2 13th Jun 2006 08:33 PM
Charts not recognizing source data if original linked data is changed. JLC Microsoft Excel Charting 3 14th Oct 2005 01:29 AM
Updating Data from Excel in Existing Charts durstbj@hotmail.com Microsoft Powerpoint 3 5th Jul 2005 07:38 PM
Determining data source =?Utf-8?B?Sk1vcnJlbGw=?= Microsoft Access 6 25th Mar 2005 03:39 PM
Source Data in Charts KABE Microsoft Excel Charting 1 19th Mar 2004 08:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:51 AM.