By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,847 Members | 2,321 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,847 IT Pros & Developers. It's quick & easy.

html link to excel spreadsheet without open/save prompt

P: n/a
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
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a
"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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a

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

P: n/a
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.