O
odie
MS Excel 2000 SR-1
I am using an advanced filter on my chart's source data but the chart
refuses to update automatically when I change the filter criteria.
Calculation is set to automatic and the 'Plot Visible Cells" option is
checked. I have tried activechart.refresh and the 'doevents' trick as well
without success. Currently I have found a 'workaround' by setting the 'Plot
Visible Cells' option on and off using the following code:
Application.ScreenUpdating = False
ActiveChart.PlotVisibleOnly = False
ActiveChart.PlotVisibleOnly = True
Application.ScreenUpdating = False
Is there a better way to accomplish this?
I am using an advanced filter on my chart's source data but the chart
refuses to update automatically when I change the filter criteria.
Calculation is set to automatic and the 'Plot Visible Cells" option is
checked. I have tried activechart.refresh and the 'doevents' trick as well
without success. Currently I have found a 'workaround' by setting the 'Plot
Visible Cells' option on and off using the following code:
Application.ScreenUpdating = False
ActiveChart.PlotVisibleOnly = False
ActiveChart.PlotVisibleOnly = True
Application.ScreenUpdating = False
Is there a better way to accomplish this?