Jump to content

Embedding Google Sheet cells

Recommended Posts

How does one embed cells of a Google Sheets document into Squarespace?

All of my attempts to used the Embed Block have failed, all returning the "URL is not embeddable" error.

Also, any guidance on what I would need to put into the Custom CSS, if anything, would be much appreciated.

Thanks!

Edited by kiwi_doug
Link to comment
  • 1 year later...

Hey,

I know the question is a bit old but it does come up quite often.

For this it is best to use Google's built-in option to create an iframe:

File > Publish to the Web > choose the Embed option and copy the code. This will give you a code that looks like this:


<iframe src="https://docs.google.com/a/....../pubhtml?widget=true&headers=false"></iframe>

This won't look great with the automatic height and width so you can add these in:


<iframe width="100%" height="500px" src="https://docs.google.com/a/.../pubhtml?widget=true&headers=false"></iframe>

Hope this helps someone else!

Link to comment
  • 6 months later...
  • 5 weeks later...
  • 1 year later...
On 1/11/2018 at 2:28 AM, dimsk said:

Hey,

I know the question is a bit old but it does come up quite often.

For this it is best to use Google's built-in option to create an iframe:

File > Publish to the Web > choose the Embed option and copy the code. This will give you a code that looks like this:



 

<iframe src="https://docs.google.com/a/....../pubhtml?widget=true&headers=false"></iframe>

 

 

This won't look great with the automatic height and width so you can add these in:



 

<iframe width="100%" height="500px" src="https://docs.google.com/a/.../pubhtml?widget=true&headers=false"></iframe>

 

 

Works great! Thanks.

 

Link to comment
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.