472,954 Members | 2,372 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 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 25769
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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
1
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.