title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Options.InsertedTextMark property (Word) |
vbawd10.chm162988089 |
|
|
6c17aa01-2dcb-cf0e-6e8d-bd7f0b254fe8 |
06/08/2017 |
medium |
Returns or sets how Microsoft Word formats inserted text while change tracking is enabled (the TrackRevisions property is True). Read/write WdInsertedTextMark.
expression. InsertedTextMark
expression Required. A variable that represents an Options object.
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.
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
[!includeSupport and feedback]