ADDIN Field Not Documented in Word 6.x Help

Last reviewed: February 5, 1998
Article ID: Q140868
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c

SUMMARY

The {ADDIN} field code is not documented in Help for Word versions 6.0, 6.0a, or 6.0c for Windows. ADDIN is documented in Help for Word for the Macintosh, Word for Windows NT, and Word for Windows 95.

MORE INFORMATION

In Word version 6.0, the ADDIN field can be used to store hidden information in a document. The corresponding WordBasic commands GetFieldData and PutFieldData are documented.

An ADDIN field can be placed anywhere in a document but cannot show any results. The ADDIN field only stores text that is placed within it using WordBasic commands.

The ADDIN field can be placed in the document either manually or by using the WordBasic InsertField command. Once the ADDIN field is in the document, move the insertion point to the field code to specify which ADDIN field is to be used. If the Insertion Point is not within an ADDIN field, WordBasic generates an error.

Use the WordBasic command

   PutFieldData Text$

where Text$ is a string variable containing the text to be stored in the ADDIN field. To retrieve the information from the ADDIN field, use the

   GetFieldData Text$

WordBasic command.

Using the ADDIN field is similar to using the document variables GetDocumentVar$() and SetDocumentVar$(), but ADDIN allows information to be stored in a specific location in a file instead of within the binary file format itself.

For more information on the ADDIN Field or the WordBasic commands GetFieldData or PutFieldData, open the Word Help Topics Index and see the appropriate topic.


KBCategory: kbusage
KBSubcategory: kbfield kbmacro
Additional reference words: 6.0 6.0a 6.0c addin putfielddata
getfielddata put get field data winword word basic field code addin pim
plug in module
Keywords : kbfield kbmacro
Version : 6.0 6.0a 6.0c
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.