StrikeThrough

Returns or sets the font style of the Font object to either strikethrough or non-strikethrough.

Syntax

object.StrikeThrough [= boolean]

The parts of the StrikeThrough property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
boolean A Boolean expression specifying the font style, as described in Settings.

Settings

The settings for boolean are described in the following table.

Setting Description
True Turns on strikethrough formatting.
False (Default). Turns off strikethrough formatting.

Remarks

The Font object is not directly available at design time. Instead you set the StrikeThrough property by choosing a control's Font property in the Properties window and clicking the Properties button. In the Font dialog box, select the Strikeout check box. At run time, however, you set StrikeThrough directly by specifying its setting for the Font object.