Toolbars

W

Wheels

Hello

Hopefully someone can help me out with this problem.

I have created a custom toolbar to open when the spreadsheet is opene
but It always opens over the spreadsheet (floating) rather then bein
anchored where the standard toolbars are.

Is there a simple peice of VBA code to tell it where to anchor itsel
once open?
 
J

JE McGimpsey

One way:

Commandbars("MyBar").Position = msoBarTop

You might also want to look at the Commandbar object's .RowIndex
property.
 
G

GregR

JE, same question but I want to position ("Mybar") on the same row as
the ("Formatting Bar") not in its own seperate row. TIA

Greg
 

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