A
Alex
My add-in tries to change the formatting of some text when the selection changes.
However, when I invoke the spelling checker, I get an exception on the following line:
range.Font.Animation = Word.WdAnimation.wdAnimationNone;
stating: "Cannot complete the function because the proofing dialog box is active".
Is there a way for me to catch the invocation of the spelling/grammar checker and temporarily disable some functionality to avoid this error?
Alternatively, can I detect that the spelling/grammar checker is active?
Best wishes,
Alex.
However, when I invoke the spelling checker, I get an exception on the following line:
range.Font.Animation = Word.WdAnimation.wdAnimationNone;
stating: "Cannot complete the function because the proofing dialog box is active".
Is there a way for me to catch the invocation of the spelling/grammar checker and temporarily disable some functionality to avoid this error?
Alternatively, can I detect that the spelling/grammar checker is active?
Best wishes,
Alex.