请高手帮忙看下这段程序啥意思,主要是if语句看不懂

来源:百度知道 编辑:UC知道 时间:2024/06/28 09:20:33
For Each text In ss
With text
For i = 0 To 6
If InStr(.TextString, F(i)) Then .TextString = ReplaceStr(.TextString, F(i), R(i), False)
Next i
End With
Next text

If InStr(.TextString, F(i)) Then .TextString = ReplaceStr(.TextString, F(i), R(i), False)

只要.TextString串中包含F(i)内容【或者反过来,很久没用了,忘记参数先后顺序】,然后将.TextString中的F(i)替换成 R(i)