Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a 'normal' excel chart on a Chart sheet (Cht1)
Source data is coming from 1 of 3 pivot tables all on the same worksheet (wks1) using vba code. Userform on chart sheet has 3 option buttons to pass a pivot table name to 'updateChart' code. All working OK When the user first opens the file I would like the appropriate option button to be set to True according to which pivot table the source data was coming from on the previous fileSave and now being displayed as the active chart. Would like to identify the chart source data rngCSD range in code and test with: set rng = intersection(wks.PivotTables(pt1).DataBodyRange, rngCSD) if not rng is nothing then OptBtn1 = True, etc How do I identify the source data range (in code) Thanks then test |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using a named range as a data source for a chart | Charts and Charting in Excel | |||
Using a Named Range for Data Source In A Chart | Charts and Charting in Excel | |||
Chart: Use range name for source data | Excel Programming | |||
Chart source data range | Excel Programming | |||
How to identify source or location of MAX_VALUE in range | Excel Worksheet Functions |