cs_GeorgesDeLajungle
Messages postés29Date d'inscriptionlundi 22 mars 2004StatutMembreDernière intervention22 juin 20071 29 sept. 2006 à 14:13
Avec .Net c'est assez simple
Voila un exemple
Dim excelapp As New Excel.Application
excelapp.Workbooks.Open("c:\tableau.xls")
excelapp.Range("A1:C3").Select()
excelapp.Selection.copy()
excelapp.Quit()
Dim wordapp As New Word.Application
wordapp.Documents.Add(Template:="normal", NewTemplate:=False, DocumentType:=0)
wordapp.Selection.Paste()
wordapp.Visible = True