Chart.PlotVisibleOnly property (Excel)
True if only visible cells are plotted. False if both visible and hidden cells are plotted. Read/write Boolean.
Syntax
expression.PlotVisibleOnly
expression A variable that represents a Chart object.
Example
This example causes Microsoft Excel to plot only visible cells on Chart1.
Charts("Chart1").PlotVisibleOnly = True
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.