08-05-2009, 03:25 PM
You can not use GetRowcount which is a QTP native method and will not work with word table.
will give you the row count for the table
Code:
objWord.Selection.Tables(1).Rows.Count