Share via


Font.DoubleStrikeThrough Property

Word Developer Reference

True if the specified font is formatted as double strikethrough text. .

Syntax

expression.DoubleStrikeThrough

expression   A variable that represents a Font object.

Remarks

Returns True, False, or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Long.To set or return single-line strikethrough formatting, use the StrikeThrough property. Setting DoubleStrikeThrough to True sets StrikeThrough to False, and vice versa.

Example

This example applies double strikethrough formatting to the selected text.

Visual Basic for Applications
  If Selection.Type = wdSelectionNormal Then
    Selection.Font.DoubleStrikeThrough = True
Else
    MsgBox "You need to select some text."
End If

This example removes double strikethrough formatting from the first word in the active document and capitalizes the first letter in the word.

Visual Basic for Applications
  With ActiveDocument.Words(1)
    .Font.DoubleStrikeThrough = False
    .Case = wdTitleSentence
End With

See Also