WD: WordBasic Examples: CountMenus() |
Q109749
This article contains an example that demonstrates the use of the following WordBasic statements and functions:
CountMenus()This article supplements the information in online Help. To open this Help topic, choose Contents from the Help menu and then choose the "Programming with Microsoft Word" topic.
CountMenus(Type [, Context])
Sub MAIN
NumMenus = CountMenus(0, 0)
MsgBox "A normal document has" + Str$(NumMenus) + " menus available."
End Sub
Additional query words: 6.0 winword word6 7.0 word95 macword 6.0.1 word7
Keywords : winword macword word6 word7 word95
Issue type :
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |