Hi, i reworking someone else macro and actually, i want to add more macros in custom toolbar. The problems is I dont find icon ids so they dont look all the same.
[Application.CommandBars.Add(Name:="BOM", Position:=msoBarBottom).Visible = True
Set FormatBtn = CommandBars("BOM").Controls.Add(Type:=msoControlButton, ID:=107)
FormatBtn.Caption = "Format Data"
FormatBtn.OnAction = "FormatData"
FormatBtn.Enabled = True]
This part work and my new buttons work when i use same ID:=
Please help me find a link or a better code to change icon
Thank you
Bookmarks