Font.SmallCaps Property
Word Developer Reference |
True if the font is formatted as small capital letters. Read/write Long.
Syntax
expression.SmallCaps
expression An expression that returns a Font object.
Remarks
Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle.
Setting the SmallCaps property to True sets the AllCaps property to False, and vice versa.
Example
This example demonstrates the difference between small capital letters and all capital letters in a new document.
Visual Basic for Applications |
---|
|
This example formats the entire selection as small capital letters if part of the selection is already formatted as small capital letters.
Visual Basic for Applications |
---|
|
See Also