PrefixCharacter Property

Applies To

Range Object.

Description

Returns the prefix character for the cell. Read-only.

Remarks

If the TransitionNavigKeys property is False, this character will be ' for a text label, or blank. If the TransitionNavigKeys property is True, this will be ' for a left-justified label, " for a right-justified label, ^ for a centered label, \ for a repeated label, or blank.

Example

This example displays the prefix character for cell A1 on Sheet1.


MsgBox "The prefix character is " & _
    Worksheets("Sheet1").Range("A1").PrefixCharacter