Jacky67 XLDnaute Barbatruc 26 Février 2023 #1 Bonjour à tous Il y a quelque chose qui me turlupine Pourquoi ceci fonctionne VB: With ThisWorkbook.VBProject .VBComponents.Remove .VBComponents("module1") End With Et cela ne fonctionne pas Code: ThisWorkbook.VBProject.VBComponents.Remove .VBComponents("module1")
Bonjour à tous Il y a quelque chose qui me turlupine Pourquoi ceci fonctionne VB: With ThisWorkbook.VBProject .VBComponents.Remove .VBComponents("module1") End With Et cela ne fonctionne pas Code: ThisWorkbook.VBProject.VBComponents.Remove .VBComponents("module1")
Solution Staple1600 26 Février 2023 Bonsoir Et comme ceci? ThisWorkbook.VBProject.VBComponents.Remove ThisWorkbook.VBProject.VBComponents("module1")
Bonsoir Et comme ceci? ThisWorkbook.VBProject.VBComponents.Remove ThisWorkbook.VBProject.VBComponents("module1")
Staple1600 XLDnaute Barbatruc 26 Février 2023 #2 Bonsoir Et comme ceci? ThisWorkbook.VBProject.VBComponents.Remove ThisWorkbook.VBProject.VBComponents("module1") Vote positif 0 Vote négatif Solution
Bonsoir Et comme ceci? ThisWorkbook.VBProject.VBComponents.Remove ThisWorkbook.VBProject.VBComponents("module1")
Jacky67 XLDnaute Barbatruc 26 Février 2023 #3 Staple1600 à dit: Bonsoir Et comme ceci? ThisWorkbook.VBProject.VBComponents.Remove ThisWorkbook.VBProject.VBComponents("module1") Cliquez pour agrandir... Re.. Ben voila, je vais me coucher moins bête qu'avant de poser la question. Merci beaucoup JM Bonne nuit Vote positif 0 Vote négatif
Staple1600 à dit: Bonsoir Et comme ceci? ThisWorkbook.VBProject.VBComponents.Remove ThisWorkbook.VBProject.VBComponents("module1") Cliquez pour agrandir... Re.. Ben voila, je vais me coucher moins bête qu'avant de poser la question. Merci beaucoup JM Bonne nuit