text
如果此文本在表格中,我想查找一些然后将表格转换为文本,否则什么也不做
但是当没有时,Table
它会给出一个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
我想要do
它loop