Bonsoir,

Je cherche à piloter un rechercher-remplacer dans Word depuis Access.

Mais mon code ne marche pas

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
            With wApp.Selection.Find
                .Text = "[num_dossier]"
                .Replacement.Text = Me.txt_numdossier
                .MatchWholeWord = True
            End With
Comment faut-il faire ??