Bonjour à tous,
Toujours aucune solution pour ce problème ?
En attente de vous lire.
Bonjour Marlène.
Perso j'ai rajouté un bouton avec une macro associée pour mettre à jour mon doc Word. Peut-être pas la meilleure solution mais ça fonctionne.
Private Sub CommandButton1_Click()
ActiveDocument.Fields.Update
ActiveDocument.TablesOfContents(1).Update
Dim oField As Field
Dim oSection As Section
Dim oHeader As HeaderFooter
Dim oFooter As HeaderFooter
For Each oSection In ActiveDocument.Sections
For Each oFooter In oSection.Footers
If oFooter.Exists Then
For Each oField In oFooter.Range.Fields
oField.Update
Next oField
End If
Next oFooter
For Each oHeader In oSection.Headers
If oHeader.Exists Then
For Each oField In oHeader.Range.Fields
oField.Update
Next oField
End If
Next oHeader
Next oSection
ActiveDocument.PrintPreview
ActiveDocument.ClosePrintPreview
End Sub