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
248
  • Question
Microsoft 365 Listbox
Réponses
3
Affichages
256

Membres actuellement en ligne

Aucun membre en ligne actuellement.

Statistiques des forums

Discussions
312 361
Messages
2 087 626
Membres
103 611
dernier inscrit
sebboes