Intercept property (Excel Graph)
Returns or sets the point where the trendline crosses the value axis. Read/write Double.
Syntax
expression.Intercept
expression Required. An expression that returns one of the objects in the Applies To list.
Remarks
Setting this property sets the InterceptIsAuto property to False.
Example
This example sets trendline one to cross the value axis at 5. The example should be run on a 2D column chart that contains a single series with a trendline.
myChart.SeriesCollection(1).Trendlines(1).Intercept = 5
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for