Hi Andy, not it isn't using the ribbon xml.
I'm using this sort of code:
Set myBar = CommandBars.Add(Name:="MyFormShortcut", Position:=msoBarPopup, Temporary:=True)
If FormMenuVers = 0 Then
' Textbox options
'And now we add menu items to the new
'command bar's controls collection.
Set myItem = myBar.Controls.Add(Type:=msoControlButton)
With myItem
.Caption = "Cu&t"
.OnAction = "'InterpretCom ""FormCut""'"
.FaceId = 21
If CutEnabled = True Then
.Visible = True
Else
.Visible = False
End If
End With
Bookmarks