469,356 Members | 2,055 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

html link to excel spreadsheet without open/save prompt

Hi,

How do you create an html link from a web page to a read-only excel
spreadsheet without the browser asking if the user wants to open it or
save it?

Jul 24 '05 #1
7 25330
palgrave wrote:
How do you create an html link from a web page to a read-only excel
spreadsheet without the browser asking if the user wants to open it or
save it?


Configure the browser so it doesn't prompt you. You can't do it from HTML.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 24 '05 #2
"David Dorward" wrote in comp.infosystems.www.authoring.html:
palgrave wrote:
How do you create an html link from a web page to a read-only excel
spreadsheet without the browser asking if the user wants to open it or
save it?


Configure the browser so it doesn't prompt you. You can't do it from HTML.


Not even with <object> ??

(Disclosure: I tried myself last year to set that up, and failed.)

--

Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
Jul 24 '05 #3
Dan

David Dorward wrote:
palgrave wrote:
How do you create an html link from a web page to a read-only excel
spreadsheet without the browser asking if the user wants to open it or save it?


Configure the browser so it doesn't prompt you. You can't do it from

HTML.

In fact, HTML doesn't even know it's an Excel spreadsheet; it's up to
the server serving it to send the proper MIME type headers that
indicate the data type. Then, upon receiving the headers, the browser
decides what to do with it in accordance with its configuration. If it
happens that the user doesn't even have Excel on his/her system, or any
other program that views such spreadsheets, then the only reasonable
option for the browser to give is to save the file.

--
Dan

Jul 24 '05 #4
On 20 Apr 2005 12:17:28 -0700, "palgrave" <de***@onetel.net> wrote:
How do you create an html link from a web page to a read-only excel
spreadsheet without the browser asking if the user wants to open it or
save it?


You don't. There is no way of putting Excel "onto the web", so all that
can happen is the browser hands it to the desktop as a raw file and asks
if the desktop knows how to handle it.

If you're on an intranet then you could go round every user's machine in
turn and configure them to handle it. But you can;t do this simply from
the web server, once for all users.

--
Cats have nine lives, which is why they rarely post to Usenet.
Jul 24 '05 #5
Stan Brown wrote:
"David Dorward" wrote in comp.infosystems.www.authoring.html:
How do you create an html link
Configure the browser so it doesn't prompt you. You can't do it from HTML.

Not even with <object> ??


<object> wouldn't be a link, it would also be a right pain in the whatsit
for anyone who wanted to save the file, or view it in a window of
reasonable size.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 24 '05 #6

palgrave schrieb:

How do you create an html link from a web page to a read-only excel
spreadsheet without the browser asking if the user wants to open it or
save it?


The direct way is impossible for obvious reasons: For millions of
computers connected to the Web, nobody produces a program called "Excel".

The right way is writing a HTML table, formatting it with CSS, and using
a script to export the Excel content into the table cells.
Hans-Joachim

--
Lesetip des Monats:

http://www.enormity.de/Hack.htm
Jul 24 '05 #7
palgrave wrote:
Hi,

How do you create an html link from a web page to a read-only excel
spreadsheet without the browser asking if the user wants to open it or
save it?


The same way that you, making a phone call, can override an answering
machine that has been configured to take a message after four rings,
forcing the phone to keep ringing until its owner picks it up instead.
Jul 24 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Allison Bailey | last post: by
14 posts views Thread by pmud | last post: by
reply views Thread by JLuv | last post: by
7 posts views Thread by rdemyan via AccessMonster.com | last post: by
3 posts views Thread by S_K | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.