Selection.ItalicRun method (Word)

Adds the italic character format to or removes it from the current run.

Syntax

expression. ItalicRun

expression Required. A variable that represents a Selection object.

Remarks

If the run contains a mix of italic and non-italic text, this method adds the italic character format to the entire run.

Example

This example toggles the italic formatting for the current selection.

Selection.ItalicRun

See also

Selection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.