COMMAND BAR - custom CB needs to be left?

itr674

Well-known Member
Joined
Apr 10, 2002
Messages
1,786
Office Version
  1. 2016
Platform
  1. Windows
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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Shows up just like you wanted for me ???

Don't forget to make it visible.

Strange,
Corticus
 
Upvote 0
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??
 
Upvote 0

Forum statistics

Threads
1,218,888
Messages
6,145,016
Members
450,585
Latest member
airc72

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
Back
Top