Selection.ItalicRun Method

Word Developer Reference

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.

Visual Basic for Applications
  Selection.ItalicRun

See Also