Bagikan melalui


Application.DontResetInsertionPointProperties Property (Word)

Returns or sets a Boolean that represents whether Microsoft Word maintains the formatting properties of the text at that position of the Insertion Point after running other code. Read/write.

Version Information

Version Added: Word 2007

Syntax

expression .DontResetInsertionPointProperties

expression An expression that returns an Application object.

Remarks

In some cases, Word loses the formatting at the Insertion Point after running other Microsoft Visual Basic for Applications (VBA) code. When this happens, it can cause difficulty for users who rely on a screen reader application. They lose the formatting when their assistive application performs what seems like unrelated tasks. This property prevents Word from losing or changing the formatting that has been applied to the text at the position of the Insertion Point when other code runs that contains properties or methods in the Word object model.

Important

Do not use this property unless you specifically need it to make a solution function correctly.

See Also

Concepts

Application Object Members

Application Object