Superscripted Property

The Superscripted property returns or sets superscripts on exponential axis labels. Returns a Boolean.

Syntax

object.Superscripted

object.Superscripted = Superscripted

 

Parameter Type Description
Superscripted Boolean required

 

Example 1

This example demonstrates how to set superscript exponents.

'Declare XAxis1 as Object

Dim XAxis1 As Object

Set XAxis1 = LineGraph.Axes.Item(1)

 

'TickLabels

Dim TickLabels As Object

Set TickLabels = XAxis1.TickLabels

 

'MajorFormat

TickLabels.MajorFormat.NumericFormat = grfNumericExp

TickLabels.MajorFormat.Superscripted = True

Example 2

This example shows how to return if exponential axis labels are superscripted.

Debug.Print TickLabels.MajorFormat.Superscripted

 

Used by: AutoLabelFormat object