Je veux trouver un text
si ce texte est dans le tableau, puis convertir la table en texte d'autre ne rienS'il n'y a pas de table puis faire autre
Mais quand il n'y a pas Table
il donne une Error
Selection.Find.ClearFormatting
With Selection.Find
.Text = " - ^$^$^$^$ ^$ - ^$^$^$^$^$^$"
.Forward = True
.Wrap = wdFindStop
.Format = True
End With
Selection.Find.Execute
If Selection.Find.Found = True Then
Selection.Tables(1).Select ' This is Error position
Selection.Rows.ConvertToText Separator:=wdSeparateByTabs, NestedTables:= _
True
Else
End If
et je veux qu'il do
dans loop
si selection.tables.count> -0 puis ..... pour I = 1 à selection.tables.count .. ..... –