Hi Patti,
The 'Chart Selector' runs VBA code on the SheetSelectionChange event. The
code should have enough comments to make it understandable - basically, it
looks for cells that are formatted in bold with a certain colour and assumes
that these are chart headers.
There are two ways to use this in your application;
1) Easy way - paste your data in 'Chart Selector'
Change the row and column headings to what you require, and paste your
data into the worksheet.
Save As... whatever you like.
2) Copy the bits that make this work into a new workbook
Open the VB Editor, copy the code in the Workbook pane to your workbook.
Unhide both charts and copy across to your workbook.
(There are two charts embedded in the worksheet - chtDim,and chtMeasure)
Format a row and a column in Bold and with
a grey background (interior.colorIndex = 15) - for chtDim
or a blue background (interior.colorIndex = 37) - for chtMeasure
Build the named range xAxis, which is a dynamic range to cover
the header row, in my case it is
=OFFSET(Sheet1!$B$7,0,0,1,COUNTA(Sheet1!$7:$7)-1)
Change the number 7 to whatever your row is.
Ed Ferrero