ActiveMenuBar Property

Applies To

Application Object.

Description

Accessor. Returns a MenuBar object that represents the active menu bar. Read-only.

Example

This example displays the name (Caption property) of the active menu bar.


MsgBox "The active menu bar is called " & ActiveMenuBar.Caption