LEGEND macro

Adds a legend to or removes a legend from a chart. This is also equivalent to clicking the Legend button on the Chart toolbar when a chart is active.

Syntax

LEGEND(logical)

Logical    is a logical value specifying which command LEGEND is equivalent to.

 

Related Function

FORMAT.LEGEND   Determines the position and orientation of the legend on a chart

Return to index