Restituisce a Range object that represents a cell o a range of cells
Sintassi
proprietà Range[Cell1: string, Cell2: string]:
IXLSRange;
| Cell1 |
String. Deve essere un riferimento in stile A1 alla cella nell'angolo in alto a sinistra dell'intervallo |
| Cell2 |
String. Deve essere un riferimento in stile A1 alla cella nell'angolo in basso a destra dell'intervallo |
Esempio
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