ADDIN Field Not Documented in Word 6.x Help

ID: Q140868

The information in this article applies to:

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          : kbmacro kbfield 
Version           : 6.0 6.0a 6.0c
Platform          : WINDOWS

Last Reviewed: January 21, 1999