Нашел такую информацию:
For instance, if Excel uses an Object Pascal keyword in its code, then we need to make an alias for that keyword. For instance, Excel uses End in several places. This is a Delphi keyword, and so we append a space on to the end of it, converting the word End to End_. This puts an end to name conflicts.
Но не понял, что бы это значило. Пробовал ставить пробел после "End" - не помогло.
Не работает и
Код:
MSWord.ActiveDocument.Range(Start:=MSWord.Selection.Start, End_:=MSWord.Selection.Start).InsertBreak;