DeletedTextMark Property

Microsoft Word Visual Basic

DeletedTextMark Property

       

Returns or sets the format of text that is deleted while change tracking is enabled. Read/write WdDeletedTextMark.

WdDeletedTextMark can be one of these WdDeletedTextMark constants.
wdDeletedTextMarkCaret
wdDeletedTextMarkPound
wdDeletedTextMarkHidden
wdDeletedTextMarkStrikeThrough

expression.DeletedTextMark

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example applies strikethrough formatting to deleted text.

Options.DeletedTextMark = wdDeletedTextMarkStrikeThrough

This example returns the current status of the Mark option under Deleted Text on the Track Changes tab in the Options dialog box.

Dim lngTemp As Long

lngTemp = Options.DeletedTextMark