View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.charting
GeneW GeneW is offline
external usenet poster
 
Posts: 6
Default How do I (or can I) add a chart within a comment?

Peter-
Thanks for the feedback. Although you maybe on the right course. I think
that is WAY above my head.
I would love to be able to try what you posted, but I have NO experience in
Excel code.

Gene

"Peter T" wrote:

I'm pretty sure there's no direct way to display a dynamic chart in a
Comment or similar. Even VBA code cannot track "mouse over" cells (at least
not directly) and in turn toggle visibility of a dynamic chart in the same
way Comments are displayed.

In theory VBA code could update the picture in the comment as changes are
made to the underlying chart data in cells. Quite a lot of work and possibly
mountainous to ensure all works reliably.

Not quite what you are looking for but you could make a dynamic chart
visible when you "select" a particular cell (or say a cell within a given
range of cells), then when user selects some other cell hide the chart. This
requires VBA "event" type code. Could also ensure that if user attempts to
select the visible chart the selection will revert to the cell.

If interested in the "select cell and display" approach and able to adapt
code to your own requirements post back.

Regards,
Peter T

Post back if that's
"GeneW" wrote in message
...
Your directions for embedding a chart to a comment was great.

Do you have any thoughts on how I can have a real-time chart open and
close
so it would be attached to a cell?
I am flexible on was to do this, but I have an excel spreadsheet and I
want
peoples sales numbers to be on the sheet but not always open large
pictures.
I would like them to work very similar to the way comments pop up.

Also, would you know how I could go about making this suggestion to
Microsoft if there is not a way for this to work?

Thanks in advance for your help.


"Dave Curtis" wrote:

You can save your chart as an image, and then format your comment box to
contain that image, but it won't update if your data updates.

Dave

url:http://www.ureader.com/msg/10296778.aspx