Bonjour, Le code bricolé suivant ajoute une ligne au tableau 1, et y inscrit le texte voulu. J'espère que ça pourra t'aider. AB
Sub Macro2() ActiveDocument.Tables(1).Rows.Add ActiveDocument.Tables(1).Select ligne = Selection.Information(wdEndOfRangeRowNumber) ActiveDocument.Tables(1).Rows(ligne).Select Selection.TypeText Text:="Avis du ..." End Sub
Bonjour,
Le code bricolé suivant ajoute une ligne au tableau 1, et y inscrit le texte
voulu.
J'espère que ça pourra t'aider.
AB
Sub Macro2()
ActiveDocument.Tables(1).Rows.Add
ActiveDocument.Tables(1).Select
ligne = Selection.Information(wdEndOfRangeRowNumber)
ActiveDocument.Tables(1).Rows(ligne).Select
Selection.TypeText Text:="Avis du ..."
End Sub
Bonjour, Le code bricolé suivant ajoute une ligne au tableau 1, et y inscrit le texte voulu. J'espère que ça pourra t'aider. AB
Sub Macro2() ActiveDocument.Tables(1).Rows.Add ActiveDocument.Tables(1).Select ligne = Selection.Information(wdEndOfRangeRowNumber) ActiveDocument.Tables(1).Rows(ligne).Select Selection.TypeText Text:="Avis du ..." End Sub