| | Cette fonction permet d'ouvrir un fichier Excel.
Remarque : Pour fonctionner, il faudra rajouter la référence "Microsoft Excel x.xx Object Library". | | |
| | | | |
| | OpenFileExcel (strDirFile) La synthaxe de la fonction OpenFileExcel comprend l'élément suivant : Eléments | Description | strDirFile | Expression de chaîne correspondant au chemin complet et au nom du fichier que l'on souhaite ouvrir dans Excel. |
| | |
| | | | |
| | Aucun exemple disponible pour le moment. | | |
| | | | |
| |
Function OpenFileExcel(strDirFile As String) Dim appXl As Excel.Application
Set appXl = CreateObject("Excel.Application")
With appXl .Workbooks.Open strDirFile .Visible = True End With
Set appXl = Nothing
End Function | | |
Date de création : 27/10/2006 @ 16:13
Dernière modification : 27/10/2006 @ 16:16
Catégorie : Automation
Page lue 2160 fois
Prévisualiser la page
Imprimer la page