Method 2: Using the StartOf and MoveEnd Methods
You can use the StartOf and MoveEnd methods of the Selection object to select from the beginning to the end of the paragraph, as in the following Visual Basic statements:
Selection.StartOf Unit:=wdParagraphm
Selection.MoveEnd Unit:=wdParagraph
Вставляю код, в ответ получаю ругань. Чешу в затылке, параллельно всматриваясь в код. Вижу в первой строке: Selection.StartOf Unit:=wdParagraphm Убираю эту странную m — код работает.
Это просто я не понимаю, зачем там нужна m или технописы Майкрософта облажались?