Bonsoir,
J essaie actuellement de personnaliser un peu mon ruban Excel 2007 mais je n arrive pas à renommer l onglet principal
Quand je run ce code, ma nouvelle Toolbar arrive dans l onglet Add-Ins, je voudrais renommer cet onglet. Comment je dois faire ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 Sub CreatePopupToolbar() Dim CustomToolBar As CommandBar Dim MainCustomBar As CommandBarPopup Dim strToolBar As String strToolBar = "Überführung" Set CustomToolBar = CommandBars.Add(Name:=strToolBar, _ Position:=msoBarFloating) CustomToolBar.Visible = True Set MainCustomBar = CustomToolBar.Controls.Add(Type:=msoControlPopup) MainCustomBar.Caption = "Main Menu" '----Suite ... End Sub
Partager