SelInfo Function Counts Heading Row of Table Only Once

Last reviewed: February 5, 1998
Article ID: Q105908
The information in this article applies to:
  • Microsoft Word for Windows, version 6.0

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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.