TextEffectFormat.KernedPairs property (Word)

Indicates that character pairs in a WordArt object have been kerned. Read/write MsoTriState.

Syntax

expression. KernedPairs

expression Required. A variable that represents a 'TextEffectFormat' object.

Example

This example turns on character pair kerning for all WordArt objects in the active document.

Sub Kerned() 
 With ActiveDocument.Range(1, ActiveDocument.Shapes.Count).ShapeRange 
 If .Type = msoTextEffect Then 
 .TextEffect.KernedPairs = True 
 End If 
 End With 
End Sub

See also

TextEffectFormat Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.