Hello
this macro copy excel tables ( named Tableau1 , Tableau2 ...) in a new Word document , and insert page break between each table
Sub EnvoyerTableauxExcelVersWord()
'activate Microsoft Word xx.x Object Library
Dim AppWord As Word.Application
Dim i As Byte
Set AppWord = New Word.Application
AppWord.Visible = True
AppWord.Documents.Add
For i = 1 To 4 'table number
'each table is named "Tableau1" , "Tableau2" ....
Range("Tableau" & i).Copy
With AppWord.Selection
.Paste
.InsertBreak Type:=wdSectionBreakNextPage 'page break
End With
Next i
Application.CutCopyMode = False
End Sub
Regards
michel
Bookmarks