Bonjour à tous
Afin de faire apparaitre une fenetre de chargement avec IE j'utilise le code suivant :
cela marche bien sauf qu'a chaque fois que j'utilise ce code j'ai un processus IE qui continue de fonctionner dans le gestionnaire de tache et ce de manière invisible...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 Private Sub Worksheet_Calculate() Dim IE As New InternetExplorer Dim winShell As New ShellWindows Dim maPageHtml As HTMLDocument For Each IE In winShell If IE.LocationURL = "file:///R:/3_TOTO/VBA/ProgressBar.html" Then IE.Quit Set IE = Nothing End If Next IE Set IE = Nothing End Sub
Partager