如何在单个新选项卡中为多个选项卡创建时间戳。 Google App脚本
嗨,我有一个带有所有选项卡名称的选项卡,我想在该表中的行中包括最后更新的日期/时间。 例如:
表格名称 | 在表1 16/05/2022 11:20更新的 |
---|---|
表1 | 16/05/2022 14:20 |
表2 | 15/05/2022 11:20 |
吗?
Hi I have a tab with all the tab names, I want to include the date/time the row in that sheet was last updated.
E.g:
Sheet name | Updated on |
---|---|
Sheet 1 | 16/05/2022 14:20 |
Sheet 2 | 15/05/2022 11:20 |
Is it possible to timestamp multiple sheets into one separate sheet?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您需要保护时间戳板免受意外修改,则简单的
OneDit(e)
触发器将无法使用。取而代之的是,在可安装触发器的情况下,运行时间戳函数。If you need to protect the timestamp sheet against unintended modifications, a simple
onEdit(e)
trigger will not work. Instead, run the timestamp function on an installable trigger, like this:可以这样做:
脚本每次更改电子表格的其他表格时都会添加或修改“时间戳”表上的时间戳。
It can be done this way:
The script adds or modifies the timestamps on the sheet 'Timestamps' every time you make changes on other sheets of the spreadsheet.
Here is my spreadsheet.