NormalStyle

Syntax

NormalStyle

Remarks

Applies the Normal style to the selected paragraphs. There is not a corresponding function for NormalStyle; however, you can use the StyleName$() function to determine the current style. For example, the instruction If StyleName$() = "Normal" Then MsgBox "Normal paragraph" displays a message box if the current paragraph is in the Normal style.

Example

This example selects the current paragraph, and if it contains the string "Comments:", applies the Normal style. The bookmark " \ Para" is one of several predefined bookmarks that Word sets and updates automatically. For information on predefined bookmarks, see "Operators and Predefined Bookmarks" later in this part.


EditGoTo .Destination = "\Para"
If InStr(Selection$(), "Comments:") Then NormalStyle

See Also

FormatStyle, ResetPara, Style, StyleName$()