View Single Post
  #2  
Old February 6th, 2004, 02:21 PM
Tushar Mehta
external usenet poster
 
Posts: n/a
Default Dynamic graph turning static

How are you setting the data range? Is it programmatically through
some property/method? Or is it through the GUI? If the former, I
believe XL/VBA is translating the 'bottomright' into the current value.
If the latter, I would love to know how, because I cannot set that
through the Chart Wizard.

Bottom line: I don't believe it is possible to specify a multi-column
range through a named dynamic formula. You can establish *up front* a
range for a single column (see the Dynamic Charts page of my web site)
and specify other ranges relative to this column. The examples on the
Dynamic Charts page show how.

--
Regards,

Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
I'm having trouble with a graph I'm trying to make dynamic.

I made a named value "bottomright" that returns a reference to the bottom
right cell of my data set. bottomright = OFFSET('Foo'!$B$2,
COUNTA('Foo'!$A:$A)-2, 3, 1, 1). That much works nicely.

The trouble I'm running into is in defining the data range for my graph. I
set the data range to ='Foo'!$B$1:bottomright, and it makes a nice graph
with exactly the data I want in it. When I add data, though, the graph
doesn't update. I go back and check the data range, and it has switched my
variable "bottomright" with a static reference to the cell it pointed to
when I initially set up the graph.

Is there some way to have the data range leave this dynamic? Thanks!


-Joey