lazerboi64
New Member
- Joined
- Feb 4, 2019
- Messages
- 8
Greetings:
Running Excel 2013. I have created an x-y scatter chart with a dozen-plus series to show time evolution of my data. I can right-click on the chart, select "Select Data" and manually check and uncheck the appropriate series. However, it's time consuming to go through the repetition when you're trying to see small changes. I would like to have macros linked to check boxes in the sheet to directly enable/disable the appropriate series. I've tried to do this via the macro recorder, but it doesn't record anything after right-clicking on the chart. All I get is the following:
Sub Select_dataset()
'
' Select_dataset Macro
'
'
ActiveSheet.ChartObjects("Chart 3").Activate
ActiveChart.PlotArea.Select
End Sub
Sub Deselect_dataset()
'
' Deselect_dataset Macro
'
'
ActiveSheet.ChartObjects("Chart 3").Activate
ActiveChart.PlotArea.Select
End Sub
Any help would be greatly appreciated!! Thanks in advance!
Running Excel 2013. I have created an x-y scatter chart with a dozen-plus series to show time evolution of my data. I can right-click on the chart, select "Select Data" and manually check and uncheck the appropriate series. However, it's time consuming to go through the repetition when you're trying to see small changes. I would like to have macros linked to check boxes in the sheet to directly enable/disable the appropriate series. I've tried to do this via the macro recorder, but it doesn't record anything after right-clicking on the chart. All I get is the following:
Sub Select_dataset()
'
' Select_dataset Macro
'
'
ActiveSheet.ChartObjects("Chart 3").Activate
ActiveChart.PlotArea.Select
End Sub
Sub Deselect_dataset()
'
' Deselect_dataset Macro
'
'
ActiveSheet.ChartObjects("Chart 3").Activate
ActiveChart.PlotArea.Select
End Sub
Any help would be greatly appreciated!! Thanks in advance!