SmallCaps Property

Applies To

Font object.

Description

True if the font is formatted as small capital letters. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Long.

Remarks

Setting SmallCaps to True sets AllCaps to False, and vice versa.

See Also

AllCaps property, Case property, DropCap property, FormattedText property, Size property.

Example

This example demonstrates the difference between small capital letters and all capital letters in a new document.

Set myRange = Documents.Add.Content
With myRange
    .InsertAfter "This is a demonstration of SmallCaps."
    .Words(6).Font.SmallCaps = True
    .InsertParagraphAfter
    .InsertAfter "This is a demonstration of AllCaps."
    .Words(14).Font.AllCaps = True
End With
This example formats the entire selection as small capital letters if part of the selection is already formatted as small capital letters.

If Selection.Type = wdSelectionNormal Then
    mySel = Selection.Font.SmallCaps
    If mySel = wdUndefined Then Selection.Font.SmallCaps = True
Else
    MsgBox "You need to select some text."
End If