PC Review


Reply
Thread Tools Rate Thread

Change A Cell Value Directly from a Chart

 
 
Takeadoe
Guest
Posts: n/a
 
      18th Jul 2006
Folks, this is a follow-up to my earlier post. I've done some
experimenting and I can quickly accomplish what I'm after if I could
figure out how to change a cell value from a worksheet directly from a
chartsheet.

Here's my plan.

Worksheet1 = PopulationModel
Worksheet2 = PrehuntEstimates
Worksheet3 = PivotTable
Chartsheet4 = Chart

A closeup look at each component:

Worksheet1

Year PHFD PHYD PHAD
WS2 WS2 WS2 (CELLS ARE ALL LINKED TO CELLS IN WORKSHEET2
and updated of course when they change)

Worksheet2 (88R*7C)

PHFD PHYD PHAD ADJUST UPHFD UPHYD UPHAD
PHFD=ADJUST*UPHFD (adjust is used to adjust all linked values)

Thus, when I change "adjust", it changes the values (PHFD PHYD PHAD) in
worksheet 2, which in turn change the values in worksheet 1. Once this
is done, I have to refresh the Pivot table and then go to chart to see
how the change affected the curve.

I added a command button to the chart which I use to refresh the pivot
table. My question for the group - is there anyway that I can gain
access to the "adjust" value in Worksheet2 directly from the chart so
as to avoid switching between the chart and the Worksheet2?

Does that make any sense? In very simplistic terms, it would be akin to
having a blank cell on the chart that would be linked to the "adjust"
cell in worksheet 2. The only thing that I can see that would
complicate things, is when I change counties (n=88). I have a dropdown
list on the chart from which I select the county for charting (data is
coming from Worksheet3 - the Pivot Table). Somehow it would have to
know to go to the correct row in Worksheet2 when I changed counties.

Any help at all would really be appreciated.

Regards,

Mike

 
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
Change the chart when a cell is clicked SheriTingle Microsoft Excel Charting 2 1st Apr 2010 05:41 PM
Change time scale in a chart by changing cell value Niels Microsoft Excel Discussion 1 28th Dec 2005 04:49 AM
How to change chart properties given command from cell =?Utf-8?B?QXdpbGw=?= Microsoft Excel Programming 1 20th Nov 2005 11:40 PM
How do I change chart cell from pixel to inch? =?Utf-8?B?QnJlbmRh?= Microsoft Excel Charting 2 4th Feb 2005 05:05 AM
Change the value of a cell directly in code. james ou Microsoft Dot NET Framework Forms 1 5th Nov 2003 09:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:18 AM.