IPrxRange.Range

Syntax

Range: ITabRange;

Description

The Range property returns an object containing a cell or a cell range.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

Range: IPrxRange;

TabRange: ITabRange;

v: Variant;

Begin

MB := MetabaseClass.Active;

Report := MB.ItemById("Report").Bind As IPrxReport;

Range := Report.ParseCell("Sheet2!B4");

TabRange := Range.Range;

v := TabRange.Value;

End Sub Main;

After executing the example the "v" variable contains the value of the cell obtained as the result of parsing the absolute address of the Sheet2!B4 cell.

See also:

IPrxRange