Código: Seleccionar todo
Private Sub LbConfiguracion_Click()
Application.CommandBars("cell").Reset
Dim Op_Menu As CommandBarControl
For Each Op_Menu In Application.CommandBars("cell").Controls
Op_Menu.Visible = False
Next Op_Menu
With Application.CommandBars("cell").Controls.Add(Temporary:=True)
.Caption = "Tipos de Documento"
.OnAction = "Macro_abre"
.FaceId = 2057
End With
With Application.CommandBars("cell").Controls.Add(Temporary:=True)
.Caption = "Servicios"
.OnAction = "Macro_abre"
.FaceId = 3000
End With
With Application.CommandBars("cell").Controls.Add(Temporary:=True)
.Caption = "Zonas"
.OnAction = "Macro_abre"
.FaceId = 3733
End With
With Application.CommandBars("cell").Controls.Add(Temporary:=True)
.Caption = "Procesos"
.OnAction = "Macro_abre"
.FaceId = 3265
End With
With Application.CommandBars("cell").Controls.Add(Temporary:=True)
.Caption = "Causales"
.OnAction = "Macro_abre"
.FaceId = 3265
End With
With Application.CommandBars("cell").Controls.Add(Temporary:=True)
.Caption = "Personal"
.OnAction = "Macro_abre"
.FaceId = 3265
End With
Application.CommandBars("cell").ShowPopup
End Sub