我们如何通过 URL 参数更新 Google 电子表格中的单元格?
我有一个供公众访问的 Google 电子表格。不过,我希望允许通过用户浏览器使用 URL 参数,以便在整个电子表格显示在屏幕上之前帮助修改电子表格的一个或多个单元格。 请参阅此处的示例。
这样的事情可能吗? https://spreadsheets.google.com/ccc?key=0AgvcQSA3jj3ydGlQV2E4bndaaWNEbnVqbU5h bk1Va0E& ;hl=zh?B4=8 在将电子表格呈现给请求用户之前,类似上述 URL 的内容能否成功将 B4 更改为 8?
I have a Google Spreadsheet that is intended for public access. However, I'd like to allow for URL parameter(s) through a user's browser that can help modify one or more cells of the spreadsheet before the entire spreadsheet is presented on the screen.
See the example here.
Is something like this possible?
https://spreadsheets.google.com/ccc?key=0AgvcQSA3jj3ydGlQV2E4bndaaWNEbnVqbU5hbk1Va0E&hl=en?B4=8
Can something like the URL above succeed in changing B4 to 8 before the spreadsheet is presented to the requesting user?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅此问题。问题
我不确定您是否可以做到这一点并使用相同的链接打开电子表格(我已询问一个问题也与此有关),但是如果您阅读 Serge insas 的答案(关于链接的第一个问题),主要编辑 2,您将看到如何使用
HTTP Get< /code> 使用链接编辑单元格。
See this question. The question
I'm not sure if you can do it and open the spreadsheet with the same link (I've asked a question about that too), but if you read the answer by Serge insas (on the first question linked), mainly edit 2, you'll see how to use
HTTP Get
to edit cells with a link.我发现了这个,理论上它应该可行,但我不确定第 6 步意味着什么...
将 URL 参数传递到 Google 表格
请参阅底部来自 @vstepaniuk 的评论
似乎如果您将 Google 表单连接到它,您也许可以编辑某些单元格,但在相当简单的方法。
I found this, which seems like theoretically it should work but I'm unsure what step 6 means...
Passing URL parameter(s) to Google Sheets
See comment at the bottom from @vstepaniuk
Seems like if you connect a Google Form to it, you might be able to edit some cells but in a fairly simple way.