tun möchte ich einige text
finden, wenn dieser Text in der Tabelle ist dann die Tabelle in Text umwandeln sonst nichtsWenn es keine Tabelle dann sonst
tun, aber wenn es keine Table
ist gibt es eine 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
und ich möchte es do
es in loop
wenn selection.tables.count> -0 dann ..... für I = 1 bis selection.tables.count .. ..... –