WD98: Writing Macro Code for VBA and WordBasic Branching (181394)
The information in this article applies to:
- Microsoft Word 98 Macintosh Edition
This article was previously published under Q181394 SUMMARY
This article includes sample Microsoft Visual Basic for Applications code
that demonstrates how to determine the version of Word currently installed
when using Automation. Based on the version of Word, the code conditionally
branches to use WordBasic commands if the version of Word is earlier than
Word 97 for Windows or Word 98 Macintosh Edition. If the version of Word
returned is equal to or greater than Word 97 for Windows or Word 98
Macintosh Edition, the code branches to use Visual Basic for Applications
commands.
You may want to use this conditional branching if you are using more than
one version of Word on your computer.
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 KB181394 |
---|
|