Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am in the process of creating a macro which subtotals sheets by a column value (which contains survey respondents' ID, such as "Respondent 205", etc). The subtotals compute averages. I have written code which find's each person's range of averages and plots them. Each person gets their own chart and the cell references are never absolute, because this macro will be applied to sheets with varying numbers of people/charts and varying observations (rows) per person. The problem is that I can not make "ActiveChart.SeriesCollection(1).Name =" work with a variable or (relative) named range - unless I am wrong it is very inflexible. Thus it is a dead end. So what I am hoping is possible is that I can have the macro select a cell with the respondent's ID and paste/transfer that info to the chart. I can select the correct cell with a reference like "ActiveCell.Offset(0, -2).Range("A1").Select)" where the original activecell is selected by my find/name-range macros I mentioned above. I can not figure out how to get this info on the chart (I don't want it added to a series - I just want it to appear on the chart somewhere, in some blank space or perhaps in the title). Any ideas? Thanks very much in advance for your help Jason P.S. These charts are their own tabs, not embedded within a sheet |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding an image to a cell | Excel Worksheet Functions | |||
Adding shape-type textbox into excel chart sheet | Excel Programming | |||
Copy contents of textBox to Cell in Excel | Excel Programming | |||
Putting Cell contents into a TextBox? | Excel Programming | |||
copy cell contents to a textbox 255 characters | Excel Programming |