DEV Community

Oscar Sun(孫守真字任真)
Oscar Sun(孫守真字任真)

Posted on

Answer: Delete "blank" lines defined by two consecutive paragraph marks

  1. How many instances of MS Word (WINWORD.EXE) are running, check it from the Task Manager( Ctrl + Shift + Esc in Windows).

  2. Be sure GetObject(, "Word.Application") returns the WINWORD.EXE IS you want to OP.

  3. Are you sure the ActiveDocument in that objWord is the one which you want…

Top comments (0)