Returnerar a Range object that represents a cell or a range of cells
Syntax
property Range[Cell1: string, Cell2: string]:
IXLSRange;
| Cell1 |
String. Detta måste vara en A1-stilreferens till cellen i områdets övre vänstra hörn |
| Cell2 |
String. Detta måste vara en A1-stilreferens till cellen i områdets nedre högra hörn |
Exempel
This example sets the value of cell A1 on the first sheet to 3.14159
Workbook.Sheets[1].Range['A1','A1'].Value := 3.14159;
This example sets the font style in cells A1:D10 on the first sheet to bold