You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Google表格onEdit脚本报错TypeError,下拉功能失效求助

Google Sheets onEdit函数报错:Cannot read properties of undefined (reading 'range')

我使用onEdit函数已有约7个月,此前运行完全正常。(原提问附onEdit函数相关截图)

未对Google表格做任何修改,但现在在F列添加条件时,单元格下拉功能失效。

直接在脚本编辑器点击运行onEdit函数后,出现如下错误信息:

TypeError: Cannot read properties of undefined (reading 'range')
onEdit  @ Code.gs:3

请问可能是什么原因导致的?

已确认工作表名称仍为"Sheet 1"。


内容的提问来源于stack exchange,提问作者mbinni1

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.16 21:20:05