ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Custom Toolbar (https://www.excelbanter.com/excel-programming/308678-custom-toolbar.html)

Michelle

Custom Toolbar
 
Thanks got it to position correctly now I need to know how
do I make it so it shows the image and text, currenly the
first one shows save as a disk and says exit the second
one says share workbook.

This is my code

Application.CommandBars.Add(Name:="COUNT").Positio n =
msoBarTop
Application.CommandBars("COUNT").Controls.Add
Type:=msoControlButton, ID:=3 _
, Befo=1
Application.CommandBars("COUNT").Controls.Add
Type:=msoControlButton, ID:= _
752, Befo=2

Application.CommandBars.Add(Name:="CountControl"). Position
= msoBarTop
Application.CommandBars("CountControl").Controls.A dd
Type:=msoControlButton, _
ID:=2040, Befo=1


All times are GMT +1. The time now is 03:52 PM.

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