Current line in VBA Word

How can I determine the current row in which table selection is active in a Word VBA macro ?

I tried all the options without success:

MsgBox Selection.Range MsgBox Selection.Rows.Item.Index 
+4
source share
1 answer

I myself realized:

 MsgBox Selection.Information(wdEndOfRangeRowNumber) MsgBox Selection.Cells(1).RowIndex 
+11
source

Source: https://habr.com/ru/post/1388453/


All Articles