Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

en vba réduire fenêtre excel

2 réponses
Avatar
fred
Bonjour,
J'ai une macro qui ouvre une page Internet et ensuite r=E9aune copie
d'=E9cran.
Or j'aimerais abaisser, r=E9duire ma fen=EAtre Excel...pour mettre
Internet Explorer en avant plan pour la copie d'=E9cran?
Merci de m'aider

2 réponses

Avatar
CAP2
Salut,

essaie ça, pour passer la fenêtre excel en écran réduit :

Sub test()

Application.WindowState = xlNormal

End Sub


ou bien, pour masquer la fenêtre excel :

Sub test()

Application.WindowState = xlMinimized

End Sub


Ca marche ?

CAP2
Avatar
fred
OK ça marche nickel!
Merci CAP2



On 12 juil, 15:19, "CAP2" wrote:
Salut,

essaie ça, pour passer la fenêtre excel en écran réduit :

Sub test()

Application.WindowState = xlNormal

End Sub

ou bien, pour masquer la fenêtre excel :

Sub test()

Application.WindowState = xlMinimized

End Sub

Ca marche ?

CAP2