SelInfo Function Counts Heading Row of Table Only Once

ID: Q105908

The information in this article applies to:

SUMMARY

In Word 6.0, the heading row of a table is counted only once by the SelInfo(15) command, regardless of how many times the header row appears in the document.

For example, if a table consists of 100 rows, and spans 3 pages, SelInfo(15) will return the number "101". It counts the actual number of rows in the table (100) and adds the heading row once.

MORE INFORMATION

The SelInfo command returns information about the insertion point. Type 15 returns the number of rows in the table.

For additional information, from the Help menu, choose Contents. Select Programming with Microsoft Word, Statements and Functions Index, SelInfo.

KBCategory: kbusage KBSubCategory: Additional query words: winword word6

Version           : 6.0
Platform          : WINDOWS

Last Reviewed: February 5, 1998