Ouvrir un classeur EXCEL par VB

bilavid -  
Lionel_86 Messages postés 43 Date d'inscription   Statut Membre -
Bonjour,
j'ai besion d'ouvrir un fichier EXCEL par VB pour afficher certaines information dans le but de les imprimées.
Veuillez me repondre SVP.
merci
Configuration: Windows XP
Internet Explorer 6.0

1 réponse

  1. Lionel_86 Messages postés 43 Date d'inscription   Statut Membre 6
     
    Bonjour

    tu peux utiliser ca

    Dim oShell
    Set oShell = WScript.CreateObject ("WSCript.shell")
    oShell.run "C:\fichier_ouvert_avec_lancement3.xls"

    met c'est trois ordres sous notepad et nomme le comme tu veux avec une terminaison .VBS
    Double clic pour ouvrir le fichier excel

    Lionel
    0