WithChartItems (ClearCustomLegend)

Removes a custom chart legend.

Syntax

WithChartItems( InstructionType, LegendName );

Parameters

Parameter Name Type Description Optional? Default Value
InstructionType Integer or String Must be set to either the integer 25 or the string "ClearCustomLegend". No n/a
LegendName String The name of the legend to delete. No n/a

Output

If successful, the function will return True; otherwise, it will return False.