Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

_Application.DontResetInsertionPointProperties Property

Office 2010

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
bool DontResetInsertionPointProperties { get; set; }

Property Value

Type: System.Boolean
Boolean

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 noteImportant

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.