| RowOffset | Integer。区域要偏移的行数(正数、负数或零)。正值向下偏移,负值向上偏移 |
| ColumnOffset | Integer。区域要偏移的列数(正数、负数或零)。正值向右偏移,负值向左偏移 |
With Workbook.Sheets[1].Range['A1', 'A1'] do begin
for row := 0 to 1000 do
for col := 0 to 100 do
Offset[row, col].Value := (row + 1)*(col + 1);
end;