Converts a string to a cell range.
Syntax
'Declaration
Public Shared Function Parse( _
ByVal As System.String _
) As CellRange
'Usage
Dim s As System.String
Dim value As CellRange
value = CellRange.Parse(s)
public static CellRange Parse(
System.string
)
Parameters
- s
- The string to be parsed.
Return Value
Returns the cell range that was parsed from the string.
Exceptions
Exception | Description |
System.ArgumentNullException | is a null reference (Nothing in Visual Basic). |
System.FormatException | does not represent a cell range. |
See Also