Re: Using a chart like a formula...?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I could imagine doing this with some kind of VBA procedure, but it would
take a couple hours to make it work. Basically, I'd use the
Worksheet_SelectionChange event to trigger the charting procedure. If the
selected cell was in the appropriate range, I'd use the data from that row
to construct a chart, and I'd position it near the selected cell. When a
different cell is selected I'd kill the one chart and draw another. I guess
it's also possible to reuse one chart, and change the data source when the
selection changed; this can even be done with a defined name (dynamic
range). Or you could predefine all the charts, then have each one become
visible when the appropriate cell was selected.

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

"DanielWalters6" <DanielWalters6@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:696D7685-0853-4E14-8606-3374B83A5D92@xxxxxxxxxxxxxxxx
Hey,

I want to track the progress of certain "students". I have their results
from tests that they sit in a register-style worksheet. (Names are in
column
A, and scores are under appropriate heading in row 1.)

If I was to create a formula to say add SCORE ONE + SCORE TWO + SCORE
THREE... I would create a formula that looked like;

=SUM(B2:B26). I would then want that to appear in each row, so I would use
the tiny square in the bottom right hand corner and it would copy down the
formula using dynamic cell references that were corresponding.

All fairly simple stuff.

I would like to make ONE GRAPH. This would simply plot their score against
the name of a test in a line graph. This is simple enough to do for ONE
student, but I can't find a way of using the equivilent to the tiny little
square to make ONE for each student. (The numbers of students can become
quite high.)

I have seen something (I'm pretty sure it was in excel) where as the tutor
moved their cursor over the students name a graph would appear as if it
was a
comment. (I hope you know whatI mean by this).

The tutor could move their mouse down the list and each time they stopped
excel would create a graph for them using the particular student's data,
based on a "template" (eg. Line graph.)

Does anyone have any idea how this was done.
If you've got any ideas, I would really appreciate some help.

Dan


.



Relevant Pages

  • Re: Using a chart like a formula...?
    ... and I'd position it near the selected cell. ... selection changed; this can even be done with a defined name (dynamic ... I want to track the progress of certain "students". ... I would like to make ONE GRAPH. ...
    (microsoft.public.excel.charting)
  • Re: Help - with macro
    ... >> a specific number to another cell, ... >> Then the cell has to refresh automatically so that the graph updates. ... When I make a selection with the combo box it enters the number into ... the linked cell. ...
    (microsoft.public.excel.programming)
  • Re: CLEAN function - macro??
    ... whatever is selected in the active worksheet can be interrogated via the Selection property. ... This allows us for example to learn the count of selected cells in the worksheet, or create a one cell range within that selection. ... First, to answer yours, yes, the developer tools is excel 2007. ... Ok I think you probably got this far already, but the code fails the call to Clean(). ...
    (microsoft.public.excel.worksheet.functions)
  • Im pretty sure it was possible
    ... when you make multiple selection while holding ctrl on Word 2007 you can of course unselect by re-clicking... ... So keep your lousy explication (like "I think you may be confusing the behavior in Windows Explorer with Excel") for yourself, ... I have used Excel for a very long time and was used to the way cell selection ... For Each Rng In Selection.Cells ...
    (microsoft.public.excel.misc)
  • RE: replacing built in keyboard shortcuts with my macros?
    ... The following lists contain CTRL combination shortcut keys, ... CTRL+) Unhides any hidden columns within the selection. ... CTRL+$ Applies the Currency format with two decimal places (negative ... CTRL+* Selects the current region around the active cell (the data area ...
    (microsoft.public.excel.programming)