HiLoLines object (PowerPoint)
Represents the high-low lines in a chart group.
High-low lines connect the highest point with the lowest point in every category in the chart group. Only 2D line groups can have high-low lines. This object is not a collection. There is no object that represents a single high-low line; you either enable high-low lines for all points in a chart group or disable them.
If the HasHiLoLines property is False, most properties of the HiLoLines object are disabled.
Note Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.
Use the HiLoLines property to return the HiLoLines object. The following example uses the HasHiLowLines property to add high-low lines to the first chart (the chart must be a line chart) in the active document. The example then makes the high-low lines blue.
With ActiveDocument.InlineShapes(1) If .HasChart Then With Chart.ChartGroups(1) .HasHighLowLines = True .HiLoLines.Border.Color = RGB(0, 0, 255) End With End If End With
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.