ParseRange(Address: String): IPrxRange;
Address - full address of the range.
The ParseRange method returns the object containing parsed address of the cell range.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
PrxRange: IPrxRange;
Sheet: IPrxSheet;
Range: ITabRange;
Style: ITabCellStyle;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
PrxRange := Report.ParseRange("Sheet1!B1:C10");
Sheet := PrxRange.Sheet;
Range := PrxRange.Range;
Style := Range.Style;
End Sub Main;
After executing the example the Sheet variable contains the sheet named Sheet1 and the Style variable contains the style of the B1:C10 cell range located on this sheet. The identifier of the regular report - Report.
See also: