Share via


TextEffectFormat.KernedPairs Property

Excel Developer Reference

True if character pairs in the specified WordArt are kerned. Read/write MsoTriState.

Syntax

expression.KernedPairs

expression   A variable that represents a TextEffectFormat object.

Remarks

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue Character pairs in the specified WordArt are kerned.

Example

This example turns on character pair kerning for shape three on myDocument if the shape is WordArt.

Visual Basic for Applications
  Set myDocument = Worksheets(1)
With myDocument.Shapes(3)
    If .Type = msoTextEffect Then
        .TextEffect.KernedPairs = msoTrue
    End If
End With

See Also