다음을 통해 공유


Font.Grow Method (Word)

Increases the font size to the next available size.

Syntax

expression .Grow

expression Required. A variable that represents a Font object.

Remarks

If the selection or range contains more than one font size, each size is increased to the next available setting.

Example

This example increases the font size of the fourth word in a new document.

Dim rngTemp As Range 
 
Set rngTemp = Documents.Add.Content 
rngTemp.InsertAfter "This is a test of the Grow method." 
MsgBox "Click OK to increase the font size of the fourth word." 
rngTemp.Words(4).Font.Grow

This example increases the font size of the selected text.

If Selection.Type = wdSelectionNormal Then 
 Selection.Font.Grow 
Else 
 MsgBox "You need to select some text." 
End If

See Also

Concepts

Font Object

Font Object Members