Private Sub Workbook_Open()
With Application.CommandBars("Cell").Controls.Add(msoControlButton)
.Caption = "Format conditionnel"
.BeginGroup = True
.OnAction = "AfficheMFC"
End With
End Sub
Sub AfficheMFC()
Application.Dialogs(xlDialogConditionalFormatting).Show
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.CommandBars("Cell").Reset
End Sub
Sub AfficheMFC()
Application.Dialogs(xlDialogConditionalFormatting).Show
End Sub
Sub AfficheMFC()
Application.Dialogs(xlDialogConditionalFormatting).Show
End Sub