How can I determine the current row where a selection is active of the table in a Word VBA macro?
I've tried all variants with no success:
MsgBox Selection.Range
MsgBox Selection.Rows.Item.Index
I figured it out myself:
MsgBox Selection.Information(wdEndOfRangeRowNumber)
MsgBox Selection.Cells(1).RowIndex
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With