Bonjour toutes et tous,
La macro suivante permet d'ouvrir un fichier excel sur le réseau.
Mais j'ai également besoin de pouvoir fermer fermer ce fichier.
Mais tentatives ont été vaines.
Une idée pour pouvoir fermer ce fichier ?
Voici comment j'ouvre :
Attention ! il manque les 'back slash'
Dim objXL As New Excel.Application
With objXL
.Application.Visible = True
.Workbooks.Open ('\\\\BATAX352\\GMAO\\Statut.xls')
End With
objXL.Windows(1).Visible = True
La macro suivante permet d'ouvrir un fichier excel sur le réseau.
Mais j'ai également besoin de pouvoir fermer fermer ce fichier.
Mais tentatives ont été vaines.
Une idée pour pouvoir fermer ce fichier ?
Voici comment j'ouvre :
Attention ! il manque les 'back slash'
Dim objXL As New Excel.Application
With objXL
.Application.Visible = True
.Workbooks.Open ('\\\\BATAX352\\GMAO\\Statut.xls')
End With
objXL.Windows(1).Visible = True