WD6X: Mac WordBasic Commands Deleted in Word 6.0 for Windows |
Q121293
Microsoft WordBasic commands that are specific to Microsoft Word 6.x for
the Macintosh are deleted from a macro when you edit and save the macro in
Word 6.0 or 6.0a for Windows.
Word 6.0c does not delete unknown commands from your macros when you edit
them in Word 6.0c for Windows. Instead of deleting the Macintosh-specific
command, Word 6.0c replaces Macintosh commands with an
"Unrecognized_Command" string or token.
If you create a macro on the Macintosh platform and copy the template that
contains the macro to Word 6.0 or 6.0a for Windows, the Macintosh-specific
WordBasic commands are permanently removed from the macro if you edit and
save the macro in Word 6.0 or 6.0a for Windows. The Macintosh commands are
not restored when you transfer the macro back to the Macintosh platform. As
a result, the macro does not run correctly when transferred back to the
Macintosh platform.
If the macro is transferred to Word 6.0c for Windows, the Macintosh-
specific commands are not deleted. Word 6.0c will display
"Unrecognized_Statement" in place of the Macintosh commands. The Macintosh
WordBasic commands are not deleted when you edit and save the macro in Word
6.0c for Windows.
http://www.microsoft.com/partner/referral/For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://support.microsoft.com/directory/overview.aspEditing and Saving the Macro in Word for Windows 6.0, 6.0a:
Sub MAIN
a$ = MacID$("TEXT")
End Sub.
If you open, edit, and save changes to the above cross-platform macro in
Word 6.0 or 6.0a for Windows, the macro appears as shown below when re-
opened in Word 6.0 for the Macintosh:
Sub MAIN
a$ = ("TEXT")
End Sub
NOTE: The Macintosh-specific command, MacID$, was deleted.
Sub Main
a$ = MacID$("TEXT")
End Sub
and open the template that contains the macro in Word 6.0c for Windows, the
macro appears as follows:
Sub Main
a$ = Unrecognized_Statement33134("TEXT")
End Sub
The "33134" number is the token identification number for the "MacID$"
command. Word 6.0c for Windows does not delete any unrecognized Macintosh
WordBasic commands.
Additional query words: recognize cross platform
Keywords : kbmacro kbprg kbdtacode kbmacroexample macword word6
Issue type : kbinfo
Technology : kbWordSearch kbWordWSearch kbWordMSearch
|
Last Reviewed: December 29, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |