The information in this article applies to:
SUMMARY
Microsoft Word for Windows does not include an option to write the
contents of your Autotext entries to a text file. This article
contains two macros that you can use to export your Autotext entries
to a text file named either GLOBAL.TXT (for global Autotext entries)
or TEMPLATE.TXT (for template Autotext entries).
MORE INFORMATIONNote: Microsoft provides this macro code "as is" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. Global Autotext EntriesUse the following macro to write the global AutoText entries (entries from NORMAL.DOT and any global templates) to a text file named GLOBAL.TXT, stored in the current directory:
Template Autotext EntriesUse the following macro to write the Autotext entries from the current template to a text file named TEMPLATE.TXT, stored in the current directory:
The CountAutoTextEntries function determines the number of Autotext
entries for the specified context (global is the default context).
The AutoTextName$ function returns the Autotext name, which the
GetAutoText$ function uses to retrieve the contents of the Autotext
entry.
Insert Autotext Entries into DocumentUse the following macro to insert all global AutoText entries into a new document window.
REFERENCESKbcategory: kbusage kbmacro Additional query words: 6.0 export autotext winword
Keywords : |
Last Reviewed: September 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |