WinWord: Corrupted SHELL.DLL or VER.DLL Causes Setup UAE

Last reviewed: July 30, 1997
Article ID: Q82067
The information in this article applies to:
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Word for the Macintosh, versions 6.0, 6.0.1

SUMMARY

There is no automatic feature in Microsoft Word for to count the number of records in a table; however, you can create a simple macro to display this information on the status bar.

MORE INFORMATION

The WordBasic function SelInfo allows you to display the number of rows within a table. The syntax for this function is as follows:

   n=SelInfo(Type)

For this example, "Type" is set to "15" (without the quotation marks). Type 15 is the value for the number of rows in a table. For more information on SelInfo, refer to pages 277-278 of "Using WordBasic," by WexTech Systems and Microsoft.

To create a macro to display the number of rows within a table, follow these steps:

  1. From the Tools menu, choose Macro. Type a name in the Macro Name box, and choose the Edit button.

  2. Below the SubMain line, type "Print SelInfo(15)" (without the quotation marks).

  3. From the File menu, choose Save All. Choose the Yes button in response to the prompt, "Save Global Glossary and Command Changes ?"

  4. From the File menu, choose Close.

  5. Position the insertion point anywhere within your table. From the Tools menu, choose Macro. Select your macro, and choose the Run button.

The number of rows in the table should display on the left-hand side of the status bar.

For information about how to do this in Word 97, please see the following article(s) in the Microsoft Knowledge Base:

   ARTICLE-ID: Q159029
   TITLE     : Word 97: Macro to Count Number of Rows in a Table

REFERENCES

"Using WordBasic," by WexTech Systems and Microsoft, pages 277-278

Kbcategory: kbusage kbmacro KBSubcategory: kbtable


Additional query words: 2.0 2.0a 2.0a winword2 word6 6.0.1
macword word7 winword 7.0 word95


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: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.