ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Setting Toolbar height & width (https://www.excelbanter.com/excel-programming/296659-re-setting-toolbar-height-width.html)

Randy Hudson

Setting Toolbar height & width
 
In , Lowell Moorcroft wrote that in
Excel 98 and Excel 2000:

I cannot get the toolbar to assume the desired width and height using the
.Height and .Width properties.


While you can't preset the .Height and .Width before adding the controls,
you can set them after all the controls have been added, to re-shape the
CommandBar. You need to specify exactly the .Height and .Width that Excel
would set for the shape you'd want; you can get those from the Watch window
after dragging the CommandBar to the shape you want it.

--
Randy Hudson


All times are GMT +1. The time now is 08:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com