COMMAND BAR - custom CB needs to be left?

itr674

Well-known Member
Joined
Apr 10, 2002
Messages
1,782
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

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

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,782
Office Version
  1. 2016
Platform
  1. Windows
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,181,305
Messages
5,929,199
Members
436,655
Latest member
Hamzahja

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