Style Property [LineFormat]

Style returns or sets the line style. Returns a string.

Syntax

object.Style

object. Style = Style

Parameter

Type

Description

Style

String

required

Example 1

This example demonstrates how to return the style of a line.

Debug.Print LineFormat.Style

Example 2

This example demonstrates how to apply a dash-dot-dot style to a line.

LineFormat.Style = "Dash Dot"

Used by: LineFormat object

See Also

Line Properties