Private Sub UserForm_Activate()
Dim CtrL, a&, wb As Workbook, I&, arrb, arrTab, c
'ThisWorkbook.Activate
For Each wb In Workbooks
If wb.Name = "Sample.xlsm" Then MsgBox "Vous devez fermer le Sample": Exit Sub
Next
Me.Caption = creator_version
grip.Move 0, 0, 1000, Frame1.Height
FrameOngletsvisible.Move 438, 60
FrameMenu1.Move 0, 29
FrameOngletsvisible.Picture = Me.Picture
Framenubackstage.Picture = Me.Picture
Framenubackstage.Move 358.5, 385.5
With Framenubackstage2
.fond.Picture = Me.Picture
.fond.Move -.Parent.Left, -.Parent.Top, Me.InsideWidth, Me.InsideHeight
End With
Framenubackstage2.Move 358.5, 23.5
FrameMenu1.Picture = Me.Picture
DoEvents
fff.Picture = Me.Picture
XlIconDialog3.Picture = Me.Picture
If Dir(ThisWorkbook.path & "\Sample.xlsm") <> "" Then Kill ThisWorkbook.path & "\Sample.xlsm"
If DocXml Is Nothing Then Me.Repaint
BtxMenuFichier.Picture = Application.CommandBars.GetImageMso("ShapeRightArrow", 30, 30)
BTXNewProject.Picture = Application.CommandBars.GetImageMso("BorderDrawLine", 30, 30)
BtxLoadProjecT.Picture = Application.CommandBars.GetImageMso("HeaderFooterFilePathInsert", 30, 30)
btxRegproject.Picture = Application.CommandBars.GetImageMso("FileSave", 30, 30)
BtxSaveCallBack.Picture = Application.CommandBars.GetImageMso("FileSaveAs", 30, 30)
Btxcreatefichier.Picture = Application.CommandBars.GetImageMso("FileSaveAsExcelXlsxMacro", 30, 30)
BtxIntegreFichexistant.Picture = Application.CommandBars.GetImageMso("FileSaveAsExcelXlsxMacro", 30, 30)
BtxVoirCodeXml.Picture = Application.CommandBars.GetImageMso("FilePrintPreview", 30, 30)
Label72.Picture = Application.CommandBars.GetImageMso("AdvancedFileProperties", 30, 20)
btxVoirRuban.Picture = Application.CommandBars.GetImageMso("ControlPaddingGallery", 30, 30)
Btxtutoyoutube.Picture = Application.CommandBars.GetImageMso("ToolboxVideo", 30, 30)
BtxVoirCodeXml.Picture = Application.CommandBars.GetImageMso("BorderDrawLine", 30, 30)
BtxExtractionXML.Picture = Application.CommandBars.GetImageMso("FileSaveAsExcelXlsxMacro", 30, 30)
BtxcloneOfficeUI.Picture = Application.CommandBars.GetImageMso("XmlImport", 30, 30)
BtxRegOfficeUI.Picture = Application.CommandBars.GetImageMso("XmlExport", 30, 30)
Tbx_insertBefore.List = Range("tablistonglet").Value
Set creatorRibbonX.oldmenuF = Btxtutoyoutube
listboxcontext.List = Range("tableauidmsocontext").Value
For Each c In Sheets("liste").Range("tlistgroupbuild").Value
If c <> "" Then listgroupbuild.AddItem c
Next
If Tbxproject = "" And checksono Then JoueSonWavAsync sonP
On Error Resume Next
Set bar = CommandBars.Add("menuicofav", msoBarPopup, , True)
'creation bouton dans menu
With bar.Controls.Add(msoControlButton): .Caption = "Enregistrer dans les favoris": End With
Set btm = bar.Controls(1)
grip.ZOrder 0
If checkscroll Then SetupMouseWheel
End Sub