最佳答案 一些有用的信息 from documentation将帮助:-6ren">
gpt4 book ai didi

html - 仅在嵌入的 Google Spread 中显示特定工作表

转载 作者:行者123 更新时间:2023-12-05 05:23:07 25 4
gpt4 key购买 nike

我可以在 html 网页中嵌入特定工作表而不是整个电子表格吗?

<iframe height="500" src="https://docs.google.com/spreadsheets/d/<key>/edit?usp=sharing" width="100%"></iframe>

最佳答案

一些有用的信息 from documentation将帮助:

To publish a file:

  1. Open a document, spreadsheet, presentation, or drawing.
  2. Click the File menu.
  3. Select Publish to the Web.
  4. While the entire file will be published, some file types have more publishing options: Spreadsheet: Choose to publish the entire spreadsheet or individual sheets. You can also choose a publishing format (web page, .csv, .tsv, .pdf, .xlsx, .ods).
  5. Click Publish.
  6. Copy the URL and send it to anyone you’d like to see the file. Or, embed it into your website.

如果您在第 4 步选择嵌入

enter image description here

你会得到这个代码:

<iframe src="https://docs.google.com/spreadsheets/d/1S14JwcYCN30VlFG0ZsBS0kHOT1_AkGxV_HydQ5-UFcI/pubhtml?gid=0&amp;single=true&amp;widget=true&amp;headers=false"></iframe></div>

关于html - 仅在嵌入的 Google Spread 中显示特定工作表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38781858/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com