LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 110
Default Can you make a chart's data *always* refer to a dynamic range name?

Hi All

I have a dynamic range name that includes all my chart data including
rows and columns as the number of both change a daily basis. So one
day I will have three row series and four columns and another six
series and two columns of data.

I can tell my chart to show all the data by setting the data range to
my dynamic name and that works fine but it converts the dynamic name
to row and column references and forgets the dynamic part for the next
day. I then have to manually perform the same set the next day so that
it charts all the series and data again.

I would like to automate this in VB but this is complicated as all my
charts live on a separate sheet and it is painful in VB to work out
which chart should have which dynamic range name.

How can I get my charts to remember the dynamic range name and not
convert to rows and columns?

If this is not possible what is the best practice to loop over all my
charts and reset their data to the appropriate range name?

At the moment my approach is:
* name each chart the same as the dynamic range name
* loop through the charts on my chart sheet, read its name then set
its data to the same dynamic range name

This is quite involved and not very robust or intuitive. What is the
best practice?

Thanks for any ideas?
Chrisso

 
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 do I make a dynamic print range in excel? Herd Excel Discussion (Misc queries) 4 August 15th 09 03:15 AM
Can a cell refer to range name/array of data previously set? Courreges Excel Discussion (Misc queries) 1 June 12th 06 02:45 PM
Alignment within a chart's data table Laurel New Users to Excel 2 January 4th 06 02:56 PM
how can i getting chart's sourcedate range classpeople Charts and Charting in Excel 1 June 16th 05 02:47 AM
How do I make a formula refer to given data even if I do a sort f. keithpt Excel Discussion (Misc queries) 0 March 17th 05 10:20 PM


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