'Declaration Public Overloads Function IsValidRange( _ ByVal worksheet As Worksheet, _ ByVal isSpan As Boolean _ ) As Boolean
Parameters
- worksheet
- The Worksheet object.
- isSpan
- Whether to treat the cell range as a span or a selection.
Return Value
true
if the cell range is a valid range in the specified sheet; otherwise, false
.