Prefix Property

The Prefix property returns or sets the label prefix string. Returns a String.

Syntax

object.Prefix

object.Prefix = Prefix

 

Parameter Type Description
PrefixStringrequired, prefix text

 

Remarks

Use Math Text to apply font and format changes to the prefix.

Example 1

This example demonstrates how to return the prefix of a label.

Debug.Print LabelFormat.Format.Prefix

Example 2

This example demonstrates how to add the prefix "Circa" at 250% size and red to a label.

LabelFormat.Format.Prefix = "\fs250 \red Circa"

 

Used by: AutoLabelFormat object