OVH Cloud OVH Cloud

test

2 réponses
Avatar
AB
désolé, c'est un test

2 réponses

Avatar
AB
toujours test, désolé

AB wrote:
|| désolé, c'est un test
Avatar
AB
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