Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a custom toolbar that opens with a specific WB. I want to
position it at the end of the "Formatting toolbar" on the 3rd Row, not in its own seperate row. How do I accomplish this? TIA Greg |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe something like:
Option Explicit Sub testme() Dim cb As CommandBar Dim fCB As CommandBar Set fCB = Application.CommandBars("Formatting") On Error Resume Next Application.CommandBars("Mybar").Delete On Error GoTo 0 Set cb = Application.CommandBars.Add(Name:="mybar", temporary:=True) With cb .Visible = True .Position = msoBarTop .Visible = True .Left = fCB.Width + fCB.Left .RowIndex = fCB.RowIndex End With End Sub GregR wrote: I have a custom toolbar that opens with a specific WB. I want to position it at the end of the "Formatting toolbar" on the 3rd Row, not in its own seperate row. How do I accomplish this? TIA Greg -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dave, perfect solution as always. Thanks
Greg |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dave, perfect solution as always. Thanks
Greg |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Look up a value which position changes. | Excel Discussion (Misc queries) | |||
How can I fix the position of a row | Excel Discussion (Misc queries) | |||
.position | Charts and Charting in Excel | |||
Tab Position | Excel Programming | |||
MyBar doesn't run automatically | Excel Programming |