bonjour voustousse,
j'essai d'agrandir une fenêtre internet explorer via une commande vba,
et je n'y arrive pas. voici le code (xl2002),
Dim IE As Object
Set IE = CreateObject("internetexplorer.application")
IE.Navigate ("
https://blabla")
IE.Visible = True
Application.Wait Now + 5 / 3600 / 48
With ActiveWindow
SendKeys ("~")
End With
Application.Wait Now + 5 / 3600 / 48
With ActiveWindow
SendKeys ("zaza~")
End With
Application.Wait Now + 5 / 3600 / 48
IE.Visible = True
ActiveWindow.WindowState = xlMaximized
Set IE = Nothing
merci par avance de votre aide !
isabelle