See Also

ISheet Interface  | ISheet Members  | EvaluateRange Method  | EvaluateValue Method  | EvaluateValues Method

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

formula
The formula to evaluate.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

EvaluateRanges Method

SpreadsheetGear Namespace > ISheet Interface : EvaluateRanges Method

Evaluates the specified formula and returns the resulting array of ranges.

[Visual Basic]
Overridable Function EvaluateRanges( _    ByVal formula As String _ ) As IRange()
[C#]
virtual IRange[] EvaluateRanges(    string formula );
[C++]
virtual IRange*[]* EvaluateRanges(    string* formula )
[C++/CLI]
virtual array<IRange^>^ EvaluateRanges(    String^ formula )

Parameters

formula
The formula to evaluate.

Return Type

The result of evaluating the formula as an array of ranges.

Remarks

Multiple instances of IRange may be returned by providing a formula with comma separated (or the appropriate argument separator for the workbook set's locale) expressions.

null will be returned if the formula is invalid or does not evaluate to one or more ranges.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ISheet Interface  | ISheet Members  | EvaluateRange Method  | EvaluateValue Method  | EvaluateValues Method

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.