Bonjour,

je rencontre un problème déjà abordé sur le forum mais je ne trouve pas de solution (posts supprimés) :
quand je ferme mon fichier excel, le processus excel.exe tourne toujours...


voici l'ouverture de mon fichier :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
Dim XL As Excel.Application
Dim WB As Excel.Workbook
Dim WS As Excel.Worksheet
 
Set XL = New Excel.Application
XL.Visible = False
 
 
Set WB = XL.Workbooks.Open(App.Path & "\MonFichier.XLS")
Set WS = WB.Worksheets("MAFEUILLE")
et la femeture :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 
WB.Close False
Set WS = Nothing
Set WB = Nothing
 
 
XL.Quit
Set XL = Nothing