Private Sub AddMenuToCommandBarHelp(cb As CommandBar, blnBeginGroup As Boolean)
Dim m As CommandBarPopup, mi As CommandBarButton
If cb Is Nothing Then Exit Sub
Set m = cb.Controls.Add(msoControlPopup, , , , True)
With m
.BeginGroup = blnBeginGroup
.Caption = "Aide "
.TooltipText = "Document d'aide ..."
End With
Set mi = m.Controls.Add(msoControlButton, , , , True)
With mi
.BeginGroup = True
.Caption = "Aide PDF ..."
.OnAction = "AidePDF"
.FaceId = 201
.Style = msoButtonIconAndCaption
End With
Set mi = m.Controls.Add(msoControlButton, , , , True)
With mi
.BeginGroup = True
.Caption = "Aide HTM ..."
.OnAction = "AideHTM"
.FaceId = 487
.Style = msoButtonIconAndCaption
End With
End Sub