473,385 Members | 1,983 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 25810
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
3
by: Otie | last post by:
I found the following under the GetObject help notes and in the example for GetObject: "This example uses the GetObject function to get a reference to a specific Microsoft Excel worksheet...
14
by: pmud | last post by:
Hi, I need to use an Excel Sheet in ASP.NET application so that the users can enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever the USER ENETRS needs to go to the...
0
by: JLuv | last post by:
What i want to do is take the checked data from a datagrid, send it to a table, then show that table on an Excel Spreadsheet. Here is a little bit of my code... //adminProgress.aspx...
7
by: rdemyan via AccessMonster.com | last post by:
I want to make sure that I'm closing an opened spreadsheet correctly. I've been having some locking up problems. The following code adds a dummy row to the spreadsheet to ensure that that the data...
1
by: garry.oxnard | last post by:
Can anyone help me to solve a problem which involves switching from Access to Excel (then back to Access) programatically please? I have an Excel template which, on open, also opens an Access...
1
by: iqedgeman | last post by:
I am using an excel spreadsheet to insert content for a report. I can access an excel spreadsheet ("sheet1") without any problems and change the rows and columns. And I can save my spreadsheet as an...
3
by: S_K | last post by:
Hi, I have a problem when I try to save a .CSV file from an ASP.NET web page and the client has Excel open already. The symptoms are: 1) The web page is currently displaying the Excel...
0
by: nudrat | last post by:
I have added a reference Microsoft Excel 5.0 Object Library in my project. the code is as follows: Dim myExcel As Excel.Application ' Interface to Excel Dim myWorkBookCollection As...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.