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