+ -
当前位置:首页 → 问答吧 → 谁能帮忙解释word查找和替换文本语句

谁能帮忙解释word查找和替换文本语句

时间:2011-01-28

来源:互联网

我在看这样一段代码,关于word文本查找的,有些不明白。见红色部分:
With myRange.Find
        .Text = "[0-9]@[ (]@[0-9]@)"
        .MatchWildcards = True
       Do While .Execute  
          n = n + Val(Split(.Parent.Text, "(")(0))
            n2 = n2 + Val(Split(.Parent.Text, "(")(1))
            .Parent.Collapse wdCollapseEnd
       Loop

作者: weiguoyin868   发布时间: 2011-01-28

这个怎没人回答呢?

作者: weiguoyin868   发布时间: 2011-01-29

热门下载

更多