XY Chart Labels


A

AK

Need the help up of the Excel gurus..

I'm using Rob Bovey's XY Chart labeler to label a Red, Yellow, and Green XY
chart.

By the way...this add-in is great!!!

The data for the charts are built from dynamic named ranges for both X and
Y. I have a helper column for the labels that is a dynamic named range as
well. All data is linked to an MS Access db.

Here's what I'm trying to do:
The data for the charts will change whenever I load the file with new data
and was wondering if anyone knew how to create a macro to call up the Add In
and place the dynamic named range in the "... Label Range" field for each
Red, Yellow, and Green data series.

I would then repeat this macro for each XY chart in the file.

Many many thanks in advance.

AK
 
Ad

Advertisements

J

John Mansfield

Rather than trying to call up the add-in, you could build the same
functionality directly into your spreadsheet. The following link gives
examples of the code that could be used to do so.

http://www.cellmatrix.net/index.php/site/analysis/add_labels_to_chart_data_points/

Additional code could be added to trigger an event to update the spreadsheet
each time the database loads.

Chip Pearson's page on worksheet and workbook event procedures:

http://www.cpearson.com/excel/events.htm

Jon Peltier's article on chart events:

http://www.computorcompanion.com/LPMArticle.asp?ID=221
 
Ad

Advertisements

A

AK

thanks for the feedback; however it's not working for me...

how do i create labels from a dynamic named range (Green_Label) for the
green dots on the XY chart and labels for the red dots from a dynamic named
range (Red_Label)?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top