EntryLinked Property

The EntryLinked property returns/sets if the legend entry title is linked to the owning plot. If so, the entry title will change to be the same as the plot id. Returns a Boolean.

Syntax

object.EntryLinked( index )

object.EntryLinked( index ) = EntryLinked

 

Parameter Type Description
index Short required, index of entry to be linked
EntryLinked Boolean required, True to link the entry title to the owning plot title. False to unlink the entry title.

 

Example 1

This example shows if the legend entry 2 is linked to its plot's object manager name.

Debug.Print Legend1.EntryLinked(2)

Example 2

This example links the legend entry 2 to its plot's Object Manager name.

Legend1.EntryLinked(2) = True

Example 3

This example demonstrates another way to link legend entry 2 to its plot's Object Manager name.

Legend1.EntryLinked(2,True)

 

Used by: AutoLegend object