(8.0里面有,其它版本没注意)
FindRowRegex Property
Returns the index of the row that contains a match or -1 if no match was found.
Syntax
Property FindRowRegex(Pattern As String, Row As Long, Col As Long) As Long
Remarks
The parameters for the FindRowRegex property are described below:
Pattern As String
Pattern containing the regular expression to look for (see the Pattern property in the VBScript Regex object for regular expression syntax).
Row As Long
The row where the search should start (use -1 to start at the first scrollable row).
Col As Long
The column to search.
Data Type
Long
FindRowRegex Property
Returns the index of the row that contains a match or -1 if no match was found.
Syntax
Property FindRowRegex(Pattern As String, Row As Long, Col As Long) As Long
Remarks
The parameters for the FindRowRegex property are described below:
Pattern As String
Pattern containing the regular expression to look for (see the Pattern property in the VBScript Regex object for regular expression syntax).
Row As Long
The row where the search should start (use -1 to start at the first scrollable row).
Col As Long
The column to search.
Data Type
Long
本文介绍了FindRowRegexProperty的功能及用法,此属性用于返回包含指定正则表达式匹配项的行索引,若未找到匹配项则返回-1。详细讲解了其参数PatternAsString、RowAsLong和ColAsLong的含义及使用方法。
1750

被折叠的 条评论
为什么被折叠?



