469,926 Members | 2,174 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

Embed Excel into html page using IE

Hello All

I tried to embed Excel sheet into HTML page by following command:

<iframe src="Tmp.XLS" width="100%" height="500"></iframe>

and it works, showing Excel sheet inside the page, but there is
no way I can save the Excel sheet after it has been change. The
Excel menu is not active and the system is not asking whether I
want to save the changes or not.

Is there any way I can show menu bar in embeded Excel or maybe I
should use some other way to show Excel file inside my html page?

Thanks in advance
Pawel

Jul 20 '05 #1
4 82036
Pawel wrote:
I tried to embed Excel sheet into HTML page by following command:

<iframe src="Tmp.XLS" width="100%" height="500"></iframe>

and it works,
For some limited definition of "works", maybe. Note that in a www
context, not every user will have MS Excel.
showing Excel sheet inside the page, but there is no way I can save
the Excel sheet after it has been change.
Save it where? Where to you want users to save the changes? If it's to
their own filesystem, I'd think the context menu might be of help, so
I'd start there.
The Excel menu is not active and the system is not asking whether I
want to save the changes or not.
That's surprising. If I load an MS Word document in MSIE, and hit the
backspace key to go back in the history, I instead edit the document,
erasing a character or tab. When I then click my back button, I get a
"save document" prompt. [1]
Is there any way I can show menu bar in embeded Excel or maybe I
should use some other way to show Excel file inside my html page?


If you want users to edit the table, you're looking at a more
complicated application. It'd involve server-side scripts and HTML tables.

[1] More MSIE weirdness. I just tested this, to make sure I was
remembering correctly. When I selected a link to an MS Word document,
MSIE loaded the document in the browser window, where I could edit it.
At the same time, the MSIE logo icon in the title bar -- the blue "e",
changed to the Firefox logo! When I went back to the previous
document, the blue "e" returned. Strange strange beast.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #2

"Brian" <us*****@julietremblay.com.invalid> wrote in message
news:10*************@corp.supernews.com...
Pawel wrote:
I tried to embed Excel sheet into HTML page by following command:

<iframe src="Tmp.XLS" width="100%" height="500"></iframe>

and it works,


For some limited definition of "works", maybe. Note that in a www
context, not every user will have MS Excel.
showing Excel sheet inside the page, but there is no way I can save
the Excel sheet after it has been change.


Save it where? Where to you want users to save the changes? If it's to
their own filesystem, I'd think the context menu might be of help, so
I'd start there.
The Excel menu is not active and the system is not asking whether I
want to save the changes or not.


That's surprising. If I load an MS Word document in MSIE, and hit the
backspace key to go back in the history, I instead edit the document,
erasing a character or tab. When I then click my back button, I get a
"save document" prompt. [1]


Yes, when the document is contained directly in the browser. But if it's in
an IFRAME?
Jul 20 '05 #3
Harlan Messinger wrote:
"Brian" wrote...


[excessive quoted material snipped]
That's surprising. If I load an MS Word document in MSIE, and hit
the backspace key to go back in the history, I instead edit the
document, erasing a character or tab. When I then click my back
button, I get a "save document" prompt.


Yes, when the document is contained directly in the browser. But if
it's in an IFRAME?


That's why I wrote "That's suprising..." and not "That's wrong...."
I'm afraid I don't have time to create a new test case for this. But
if you're that curious, knock yourself out.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #4
Thank you for all sugestions. I think that I will go for HTML tables.
That look the most promissing.
regards
Pawel

Brian wrote:
Harlan Messinger wrote:
"Brian" wrote...


[excessive quoted material snipped]
That's surprising. If I load an MS Word document in MSIE, and hit
the backspace key to go back in the history, I instead edit the
document, erasing a character or tab. When I then click my back
button, I get a "save document" prompt.


Yes, when the document is contained directly in the browser. But if
it's in an IFRAME?


That's why I wrote "That's suprising..." and not "That's wrong...."
I'm afraid I don't have time to create a new test case for this. But
if you're that curious, knock yourself out.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/


Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Stefan van Roosmalen | last post: by
reply views Thread by Stan Brown | last post: by
2 posts views Thread by Cris Curtis | last post: by
13 posts views Thread by Lloyd Dupont | last post: by
1 post views Thread by Andrew Poulos | last post: by
3 posts views Thread by abrtlt | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.