Re : Publipostage - Plusieurs fichiers PDF à partir d'un fichier word
Bonjour Pierre,
Merci beaucoup pour ton fichier !! J'essaie de l'adapter au mien mais je ne comprends pas tout à fait la partie :
With WordApp
.Visible = False
.Selection.Goto What:=wdGoToBookmark, Name:="Nom"
.Selection.TypeText Text:=Sheets(1).Cells(lig, 1).Text
.Selection.Goto What:=wdGoToBookmark, Name:="Rue"
.Selection.TypeText Text:=Sheets(1).Cells(lig, 2).Text
.Selection.Goto What:=wdGoToBookmark, Name:="CP"
.Selection.TypeText Text:=Sheets(1).Cells(lig, 3).Text & " " & Sheets(1).Cells(lig, 4).Text
Est-ce que tu as défini dans le fichier word les "Nom", "CP" et "Rue"?
Merci encore !