Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displying xls file in a HTML document?

Status
Not open for further replies.

kragster

Technical User
May 9, 2007
55
DK
Hi,
I would like to display an excel file from my LAN on a webpage and until now I have used this code:
Code:
<IFRAME src="Path to excelfile" frameBorder=0 width=750 height=750>  </IFRAME>

I would like to know what other solutions are available to display a dynamic excelfile on a webpage. When it is done with IFRAME it just looks awful. Is there any way to display it, so that you dont see the excel interface, but only the values of the cells?
 
Well that looks good, but I was hoping it could be done with HTML code. Thanks though for the link.
 
If you want to make sure anybody (even those who don't have Excel) can view your file, you'll have to use either server-side code or JS widgets or even Flash ( ) to display it in the browser.
 
Hi Sleidia,
It is for an intranet page and all our employees have excel. I just want it to look prettier ;)
 
If they all have Excel, the best looking and most user friendly interface for them would be .... Excel ;)
 
Well I guess not then ;) In my oppinion it looks awful.
 
What I meant is that, if you do <a href="file.xls">View Data</a>, it would be better than having the file displayed in a small iframe.

Or, another option would be to still use the iframe but inside a popup window resizing itself to the full width/height of the screen.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top