GET.BAR

Macro Sheets Only

Returns the number of the active menu bar. There are two syntax forms of GET.BAR. Use syntax 1 to return information that you can use with other functions that manipulate menu bars. Use syntax 2 to return information that you can use with functions that add, delete, or alter menu commands.

Syntax 1 Returns the number of the active menu bar

Syntax 2 Returns the name or position number of a specified command on a menu or of a specified menu on a menu bar