SetValue (Method)

Applies To:

ReferenceLine object

Description:

Sets the reference line value.

Syntax:

Expression.SetValue(Value as Number)

Example:

This example shows how to set the reference line value to 50:

ActiveDocument.Sections["Chart8"].ReferenceLines[1].SetValue('50')