Lancer une appli à partir d'une macro

T

totofweb

Guest
Bonjour
Est-il possible de lancer une application à partir d'une macro Excel ? Si oui, pouvez-vous me donner un bout de code ou si site explicatif ?

Merci
totofweb
 
@

@+Thierry

Guest
Re TotoWeb !

lol @ "Si oui, pouvez-vous me donner un bout de code ou si site explicatif ?"... (tu l'a copié collé celui là !!)

Pour lancer une application à partir d'une macro Excel => Fonction Shell.... (Ni BP, ni Total, ni Fina !!)

Extrait de l'aide :
Shell Function Example
This example uses the Shell function to run an application specified by the user.

' Specifying 1 as the second argument opens the application in
' normal size and gives it the focus.
Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator.

Plus d'exemple en cherchat dans ce forum à Shell)

Bon Aprèm
@+Thierry
 

Discussions similaires

Réponses
12
Affichages
284
  • Question
Microsoft 365 Listbox
Réponses
3
Affichages
269

Statistiques des forums

Discussions
312 502
Messages
2 089 047
Membres
104 011
dernier inscrit
dfr