Commande pour appuer sur une touche auto

Bonjour,

jai fait le code suivant avec excel en VB pour lancer une appli et appuyer sur entrée mais ca ne marche pas:

Sub Bouton1_QuandClic()
Shell ("U:\Téléchargements\ipscan-3.0-beta4.exe")
SendKeys "{ENTER}", True
End Sub

Quelqu'un a t'il une solution svp?

merci d'avance,
morice

1 réponse

  • Votes
  • Date
  • Date décroissante
  1. bonjour

    peut- être

    Sub Bouton1_QuandClic()
    Var1 = Shell ("U:\Téléchargements\ipscan-3.0-beta4.exe",1)

    End Sub