WD97: How to Find the ANSI Value of Characters

Last reviewed: February 24, 1998
Article ID: Q176992
The information in this article applies to:
  • Microsoft Word 97 for Windows

SUMMARY

To troubleshoot a problem or search for an extended character, you may need to find the American National Standards Institute (ANSI) value of a string of text in Microsoft Word.

MORE INFORMATION

Word 97 includes a macro named AnsiValue which, when run, provides the ANSI value for the selected character. To run this macro, follow these steps:

  1. On the File menu, click Open, and then select the following folder:

          C:\Program Files\Microsoft Office\Office\Macros
    

  2. In the Files Of Type list, click "Document Templates (*.dot)."

  3. Select Macros8.dot and click OK.

  4. In your document, type the character for which you want to find the ANSI value, and then select that character.

  5. On the Tools menu, point to Macro, and then click Macros.

  6. In the Macro list, click ANSIValue and then click Run.

For more information about macros supplied with Word, click the Office Assistant, type "Supplied Macros," click Search, and then click to view "Supplied macros."

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q120802
   TITLE     : Office: How to Add/Remove a Single Office
               Program or Component

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

   ARTICLE-ID: Q74894
   TITLE     : WD: Macros to Find the ANSI Value of Characters

REFERENCES

For more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q163435
   TITLE     : VBA: Programming Resources for Visual Basic for
               Applications
Keywords          : word8 word97
Version           : WINDOWS:97
Platform          : WINDOWS
Issue type        : kbhowto


================================================================================


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