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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embed an Excel Spreadsheet from a Workbook Within HTML

Status
Not open for further replies.

Harlequin007

Technical User
Feb 9, 2004
249
GB
Hi guys

I'm using the following:

<EMBED SRC="../Excel_Data/ECO_Tracker_Summary.xls">

But guess what... It doesn't work. Do I need to reference the specific worksheet or maybe a named range also...?

It's being presented in static HTML.

----------------------------
Cogito Ergo Sum [jester2]
----------------------------
 
Hi,

You can do this (opens excel in a IFRAME = you can edit it):

Code:
<HTML>

<HEAD>
  <TITLE>Excel Included</TITLE>
</HEAD>

<BODY>
  Some text ... <BR><HR><BR>
  <CENTER>
    <IFRAME SRC="test.xls" HEIGHT="90%" WIDTH="90%"></IFRAME>
  </CENTER>
</BODY>

</HTML>

Hope this helps §;O)

Good Luck


Jakob
 
Kewl Jacob

Worked a treat. I need to resize the excel chart or maybe the frame but I should have looked at using the IFRAME command sooner.

Why on earth will it not display in a HTML page but in a frame...?

Any ideas...?

----------------------------
Cogito Ergo Sum [jester2]
----------------------------
 
Hi,

This will open the spreadsheet in a full page when you press the button:

Code:
<HTML>
<HEAD>
  <TITLE>Excel Button Demo</TITLE>
</HEAD>

<BODY>

<H1>Button Activated Excel Spreadsheet</H1>

<BR><BR>
<BUTTON onClick="javascript : void(document.location.href='test.xls')">Try me!</BUTTON>

</BODY>
</HTML>

Good Luck §;O)


Jakob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top