Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 1.53 KB

Word.Options.InsertedTextMark.md

File metadata and controls

61 lines (35 loc) · 1.53 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Options.InsertedTextMark property (Word)
vbawd10.chm162988089
vbawd10.chm162988089
Word.Options.InsertedTextMark
6c17aa01-2dcb-cf0e-6e8d-bd7f0b254fe8
06/08/2017
medium

Options.InsertedTextMark property (Word)

Returns or sets how Microsoft Word formats inserted text while change tracking is enabled (the TrackRevisions property is True). Read/write WdInsertedTextMark.

Syntax

expression. InsertedTextMark

expression Required. A variable that represents an Options object.

Remarks

If change tracking is not enabled, this property is ignored. Use this property with the InsertedTextColor property to control the appearance of inserted text in a document.

The ShowRevisions property must be True to see the formatting for inserted text during editing. The PrintRevisions property must be True in order for Word to use the formatting for inserted text when printing a document.

Example

This example sets Word to italicize inserted text.

Options.InsertedTextMark = wdInsertedTextMarkItalic

This example sets Word to format inserted text as bold if it isn't already.

If Options.InsertedTextMark <> wdInsertedTextMarkBold Then 
 Options.InsertedTextMark = wdInsertedTextMarkBold 
Else 
 MsgBox Prompt:="Inserted text is already bold!" 
End If

See also

Options Object

[!includeSupport and feedback]