(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