Microsoft KB Archive/100044

Documentation Error: InsertObject WordBasic Macro Command PSS ID Number: Q100044 Article last modified on 07-14-1994

2.00 2.00a 2.00a-CD 2.00b 2.00c

WINDOWS

Summary:

There is a documentation error on page 242 of the “Using WordBasic” book by WexTech Systems and Microsoft. The example of the InsertObject command incorrectly reads:

InsertObject “Word Document”

There should be no space between “Word” and “Document.” The syntax example results in the following error message:

Word cannot locate the server application for Word Document objects. Install the server application with the Setup program.

The correct syntax for the InsertObject command is:

InsertObject “WordDocument”

-or-

InsertObject .Class = “WordDocument”

Reference(s):

“Using WordBasic,” by WexTech Systems and Microsoft, page 242

Additional reference words: 2.00 2.00a 2.00a-CD 2.00b 2.00c docerr doc winword err errmsg msg

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

Copyright Microsoft Corporation 1994.