Hi
I have added a CommandBarButton to my excel workbook.
My question is how can i make it load with my workbook (i mean when i open my file)
Thank's.
My code sample is:
Dim cb As CommandBar
Dim b As CommandBarButton
Set cb = Application.CommandBars("Standard")
Set b = cb.Controls.Add(msoControlButton, , , , True)
b.Caption = "Hello"
b.FaceId = 234
b.Style = msoButtonIconAndCaption
b.OnAction = "Test"