Can a custom commandbar height be set? I tried using the following code to do it, but it does not work??<pre>Set DTTM_CB = CommandBars.Add
With DTTM_CB
.Name = "DTTM"
.Enabled = True
.Visible = True
.Height = 20 THIS DOES NOT APPEAR TO WORK ???
.Position = msoBarTop IF YOU USE .ROWINDEX IS THERE A NEED TO USE .POSITION??
.Left = 0
.RowIndex = CommandBars(1).RowIndex + 1 ' puts custom commandbar under the Windows Menu Bar
.Protection = msoBarNoCustomize ' + msoBarNoMove
End With</pre>
This message was edited by em on 2003-02-09 17:21
With DTTM_CB
.Name = "DTTM"
.Enabled = True
.Visible = True
.Height = 20 THIS DOES NOT APPEAR TO WORK ???
.Position = msoBarTop IF YOU USE .ROWINDEX IS THERE A NEED TO USE .POSITION??
.Left = 0
.RowIndex = CommandBars(1).RowIndex + 1 ' puts custom commandbar under the Windows Menu Bar
.Protection = msoBarNoCustomize ' + msoBarNoMove
End With</pre>
This message was edited by em on 2003-02-09 17:21