Table.GetRowCount method (Outlook)
Obtains the number of rows in the Table.
Syntax
expression. GetRowCount
expression A variable that represents a Table object.
Return value
A Long value that represents the number of rows in the Table.
Remarks
GetRowCount on a large table will result in a performance impact. Due to MAPI restrictions (for example, memory constraints for large tables, simultaneous operations on the Table), GetRowCount may not be able to determine the number of rows in the Table, or it may only return an approximate row count. In these cases, GetRowCount will return an error. You should use appropriate error detection for GetRowCount to determine if the call returns an error.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.