ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Menu bar location (https://www.excelbanter.com/excel-programming/374859-menu-bar-location.html)

Matthew Balch[_2_]

Menu bar location
 
I have created a menu bar upon opening a workbook.

What vb do I use to place it somewhere. I.e. I would like to place it either
next to the 'standard' menu bar or beneath it.

How do I do this?

Thanks in advance
Matthew Balch

Bob Phillips

Menu bar location
 
Look at the position and rowindex properties of the commandbar object in
help.

For example

Application.CommandBars.Add(Name:="myMenuBar", Position:=msoBarTop, _
MenuBar:=False)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Matthew Balch" wrote in message
...
I have created a menu bar upon opening a workbook.

What vb do I use to place it somewhere. I.e. I would like to place it

either
next to the 'standard' menu bar or beneath it.

How do I do this?

Thanks in advance
Matthew Balch




Matthew Balch[_2_]

Menu bar location
 
Thanks Bob

"Bob Phillips" wrote:

Look at the position and rowindex properties of the commandbar object in
help.

For example

Application.CommandBars.Add(Name:="myMenuBar", Position:=msoBarTop, _
MenuBar:=False)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Matthew Balch" wrote in message
...
I have created a menu bar upon opening a workbook.

What vb do I use to place it somewhere. I.e. I would like to place it

either
next to the 'standard' menu bar or beneath it.

How do I do this?

Thanks in advance
Matthew Balch






All times are GMT +1. The time now is 05:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com