chetan Allipur

chetan Allipur

  • NA
  • 541
  • 158k

How to get active the word document after closing dialog box

Mar 19 2018 4:27 AM
if a windows form pop up inserts text to the active document, the cursor is not blinking. The selection is correct but the user must click the document. How to have the cursor stay active after a dialog box is closed.
 
I tried
 
this.WordDoc.Activate();
WordDoc.ActiveWindow.ActivePane.Selection.Select();
 
Please help me out