SelectCurrentFont Method
Applies To
Selection object.
Description
Extends the selection forward until text in a different font or font size is encountered.
Syntax
expression.SelectCurrentFont
expression Required. An expression that returns a Selection object.
See Also
Name property, SelectCurrentColor method, Size property.
Example
This example extends the selection until text in a different font or font size is encountered. The example uses the Grow method to increase the size of the selected text to the next available font size.
With Selection
.SelectCurrentFont
.Font.Grow
End With