0

我使用 onEdit 运行一个函数,但我可以知道如何将右侧的单元格寻址到已编辑的单元格...

4

1 回答 1

4

您是否尝试过偏移方法

方法偏移量(rowOffset、columnOffset、optNumRows、optNumColumns)

获取相对于给定范围的新范围。

例如:

SpreadsheetApp.getActiveRange().offset(0, 1)
于 2012-06-15T07:32:05.463 回答