COMMAND BAR - custom CB needs to be left?

itr674

Well-known Member
Joined
Apr 10, 2002
Messages
1,778
I'm trying to get custom command bar to show up as last tool bar at top and then all the way to the left.

It ends up about .25" from left side of window.<pre>Set cb = Application.CommandBars.Add(My_CB_Name, , False, True)
With cb
.Position = 1
.RowIndex = msoBarRowLast
.Protection = msoBarNoCustomize
.Left = 0
End With</pre>
This message was edited by em on 2003-02-09 14:22
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Corticus

Well-known Member
Joined
Apr 30, 2002
Messages
1,579
Shows up just like you wanted for me ???

Don't forget to make it visible.

Strange,
Corticus
 

itr674

Well-known Member
Joined
Apr 10, 2002
Messages
1,778
Is it aligned left with the Window Menu Bar, Standard and Formatting bar?

On my machine it keeps lining up about a quarter inch to the right, or in line with the right portion of the row headings???

Is there any other procedure to force it farther left??
 

Corticus

Well-known Member
Joined
Apr 30, 2002
Messages
1,579
Yup,

perfectly flush.

I don't know how to move it over any, sorry :)

Corticus
 

Forum statistics

Threads
1,144,311
Messages
5,723,643
Members
422,508
Latest member
Lordkit1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top