FORMAT.LEGEND

Macro Sheets Only

Equivalent to choosing the Selected Legend command from the Format menu when a chart is active. Determines the position and orientation of the legend on a chart and returns TRUE; returns an error message if the legend is not already selected.

Syntax

FORMAT.LEGEND(position_num)
FORMAT.LEGEND?(position_num)

Position_num is a number from 1 to 5 specifying the position of the legend.

Position_num Position of legend

1 Bottom

2 Corner

3 Top

4 Right

5 Left

Related Functions

FORMAT.MOVE Moves the selected object

FORMAT.SIZE Sizes an object

LEGEND Adds or deletes a chart legend

List of Command-Equivalent Functions