In this thread, Andrew Lockton posts a macro that will display the number of rows in a selected table:
https://www.msofficeforums.com/word/...ows-table.html
The macro is:
Code:
Sub CountRows()
msgbox Selection.Tables(1).Rows.Count
End Sub
Is there a way to make this into a function that will return the number of rows in a table if called from a cell in that table?