TryExtractDataRange Method
In This Topic
Extract data range of sparkline group.
Syntax
'Declaration
Public Shared Function TryExtractDataRange( _
ByVal As Worksheet, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Expression, _
ByRef As WorksheetReference, _
ByRef As DefinedName _
) As Boolean
'Usage
Dim worksheet As Worksheet
Dim row As Integer
Dim column As Integer
Dim expression As Expression
Dim dataRange As WorksheetReference
Dim dataNamedRange As DefinedName
Dim value As Boolean
value = SparklineGroup.TryExtractDataRange(worksheet, row, column, expression, dataRange, dataNamedRange)
Parameters
- worksheet
- The worksheet.
- row
- An integer value indicates the row index.
- column
- An integer value indicates the column index.
- expression
- The expression.
- dataRange
- The data range.
- dataNamedRange
- The data named range.
Return Value
true
if the specified expression represents data range of sparkline group; otherwise, false
.
See Also