Menu bar location

M

Matthew Balch

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
 
B

Bob Phillips

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)
 
M

Matthew Balch

Thanks Bob

Bob Phillips said:
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top