0

Is there a simple way to embed an Excel file into a web page? For example, say I want to import a table of 100 values into an HTML or PHP document.

Michael Petrotta
  • 59,888
  • 27
  • 145
  • 179
Jenz
  • 13
  • 1
  • 4
  • what did you try so far? – Alp Mar 14 '12 at 15:03
  • I tried to use publish as webpage from excel but the excel file is linked and auto synchronised with my database. – Jenz Mar 14 '12 at 15:07
  • what functionality are you looking for ? Do you want to display values only or you want the user to use all of the excel capabilities (like formulas and stuff) – isJustMe Mar 14 '12 at 15:10
  • Rafael i have a table in excel, i want in every page.html or page.php open get the information from Excel. – Jenz Mar 14 '12 at 15:23
  • I am pleased if you are satisfied with your solution but I would not consider use of Google Docs. Google seems to believe that can use anything that passes through their hands in any way they want. I hope you are happy for Google to use your data for their purposes. I suggest you look at my answer to what seems a very similar question. [how to display excel sheet in html page](http://stackoverflow.com/a/9702707/973283) – Tony Dallimore Mar 15 '12 at 11:08

1 Answers1

0

take a look at this: http://devzone.zend.com/27/reading-and-writing-spreadsheets-with-php/

if you want only embed it:

  1. upload the file to google docs
  2. file> publish
  3. select embed
  4. copy the link
  5. paste to your webpage

Example: http://jsfiddle.net/fupqx/1/