Class HiLoLines (Word VBA)

The class HiLoLines represents the high-low lines in a chart group.

Set

To use a HiLoLines class variable it first needs to be instantiated, for example

Dim hlls as HiLoLines
Set hlls = ActiveDocument.Background.Chart.ChartGroups(1).HiLoLines

HiLoLines class variables can be set using the ChartGroup.HiLoLines procedure.

Border

Returns the border of the object.

Dim cbrBorder As ChartBorder
Set cbrBorder = ActiveDocument.Background.Chart.ChartGroups(1).HiLoLines.Border

Delete

Deletes the object.

ActiveDocument.Background.Chart.ChartGroups(1).HiLoLines.Delete

Format

Returns the line, fill, and effect formatting for the object.

Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveDocument.Background.Chart.ChartGroups(1).HiLoLines.Format

Name

Returns the name of the object.

Dim strName As String
strName = ActiveDocument.Background.Chart.ChartGroups(1).HiLoLines.Name

Parent

Returns the parent for the specified object. Read-only object.

Dim objParent As Object
Set objParent = ActiveDocument.Background.Chart.ChartGroups(1).HiLoLines.Parent

Select

Selects the object.

ActiveDocument.Background.Chart.ChartGroups(1).HiLoLines.Select