Font.AllCaps Property
Word Developer Reference |
True if the font is formatted as all capital letters. Read/write Long.
Syntax
expression.AllCaps
expression A variable that represents a Font object.
Remarks
Returns True, False, or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle (reverses the current setting).
Setting AllCaps to True sets SmallCaps to False, and vice versa.
Example
This example checks the third paragraph in the active document for text formatted as all capital letters.
Visual Basic for Applications |
---|
|
This example formats the selected text as all capital letters.
Visual Basic for Applications |
---|
|
See Also