WD98: Macros to Test for an Existing AutoText Entry Name (183304)
The information in this article applies to:
- Microsoft Word 98 Macintosh Edition
This article was previously published under Q183304 SUMMARY
When you write macros in Microsoft Word for Windows, it may be necessary
to test for the existence of an AutoText entry before inserting the
contents of the entry. If your macro does not check for the existence of an
AutoText entry before attempting to insert the contents into the document,
you may receive the following error message:
Run-time error '5941':
The requested member of the collection does not exist.
REFERENCES
For more information about getting help with Visual Basic for Applications,
please see the following article in the Microsoft Knowledge Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Major | Last Reviewed: | 6/17/2005 |
---|
Keywords: | kbdtacode kbhowto kbmacroexample KB183304 |
---|
|