Renvoie a Range object that represents a cell or a range of cells
Syntaxe
property Range[Cell1: string, Cell2: string]:
IXLSRange;
| Cell1 |
String. Il doit s'agir d'une référence de style A1 vers la cellule située au coin supérieur gauche de la plage |
| Cell2 |
String. Il doit s'agir d'une référence de style A1 vers la cellule située au coin inférieur droit de la plage |
Exemple
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