StrikeThrough Property

StrikeThrough returns or sets the strikethrough style. It adds a horizontal line through the center of the text. It has a Boolean value, which is 'True', if the text style is strike through has been applied to the font, and 'False', when the text style is not strike through.

Syntax

object.StrikeThrough

object. StrikeThrough = Strike

Parameter

Type

Description

Strike

Boolean

required

Example 1

This example demonstrates how to return whether or not strikethrough has been applied to a font.

Debug.Print FontFormat.StrikeThrough

Example 2

This example demonstrates how to strikethrough a font.

FontFormat.StrikeThrough = True

Used by: FontFormat object