NamesOnLeft Property

The NamesOnLeft property returns or sets the location of the legend entry text with relation to the legend line and symbols. When True, the text appears to the left of the legend line sample. When False, the legend line appears first. Returns a Boolean.

Syntax

object.NamesOnLeft

Example 1

This example demonstrates how to return if a legend entry displays labels on the left side.

Debug.Print Legend1.NamesOnLeft

Example 2

This example demonstrates how to set a legend entry to display labels on the left side.

Legend1.NamesOnLeft = True

 

Used by: AutoLegend Object