My dilemma is very simple:
Start a new H/PC project, and drop a CommandBar Control onto the Form. Then copy this code into the form window:
Private Sub Form_Load()
Dim objButton As CommandBarButton
Set objButton = CommandBar1.Controls.Add(cbrButton, "Button1")
objButton.Style = cbrDefault
objButton.Caption = "Test"
Why doesn't the object display the caption "Test"?
Is this a known bug, or have I done something wrong?