473,385 Members | 1,752 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.

How to save excel from webpage?

me
I have a webpage containing a link to a spreadsheet
<a href="somefilename.xls">click</a>

When the link is clicked a spreadsheet opens in internet explorer
using some sort of excel COM object.
I would like to enable the user to edit the spreadsheet and then
save the changes in the existing file. How ever IE only offers
"save as" not "save" and it dosent suggest the original filename.
The users already have write acces to the area where the excel
sheet is published. How do i make IE suggest the original filename
or enable the "save" menu??
Jul 19 '05 #1
1 2999
me wrote:
I have a webpage containing a link to a spreadsheet
<a href="somefilename.xls">click</a>

When the link is clicked a spreadsheet opens in internet explorer
using some sort of excel COM object.
I would like to enable the user to edit the spreadsheet and then
save the changes in the existing file. How ever IE only offers
"save as" not "save" and it dosent suggest the original filename.
The users already have write acces to the area where the excel
sheet is published. How do i make IE suggest the original filename
or enable the "save" menu??


I'm assuming that this is an intranet ..?

You could try specifying the link so that it is a full link to the file
from the perspective of the user's machine. For example, if the file is
stored on a fileserver mapped to the user's F drive, then you could
specify the path as:

<a href="F:\Accounts\April03\somefilename.xls">click</a>

Alternatively, try a UNC path:

<a href="\\FileServer\Accounts\April03\somefilename.x ls">click</a>

This is supposition, and is not tested! :)

Drew

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sunny K | last post by:
Hi, I need to display certain cells from an Excel spreadsheet to a webpage. For example; across the A,B,C columns I will have locations named (Eg London, Leeds etc) and across the 1,2,3 rows...
4
by: Jae | last post by:
I'm writing a web application that exports and imports excel files. The application gets a list of users and their info and displays it in a datagrid .The user then selects to save the file as a...
6
by: Michael Groeger | last post by:
Hi, I have an aspx page which generates an excel document and transfers it to the browser as attachment. Normally, once the document is transferred the open save dialog prompts to open or save...
0
by: Rick | last post by:
I'm not sure if this is the correct place to post this, but we have a .net web site, on certain pages our customer needs to do a File\Save As and save a web form as .mht. On some pages but not all,...
2
by: iloveprincess | last post by:
Hi, I'm developing windows application using VB.Net 2005. I would like to send 'save' message using 'SendMessage' API to the excel appication. I've already got a handle of the excel window with...
3
by: =?Utf-8?B?YXNkZg==?= | last post by:
Hello. I am making a web application with c# and am using this code: Response.ContentType = "application/x-excel"; Response.AddHeader("Content-Disposition", "attachment;filename=" +...
1
by: =?Utf-8?B?Sm9obiBXYWxrZXI=?= | last post by:
Hi, I am using the code below to export a webpage to Excel. The webpage has three datagrids on it and they are all exported to Excel properly and everything looks very nice, but we would really...
1
by: JRussell | last post by:
Hi, I am trying to download sql database through asp on my webpage and I keep getting weird outcomes in Excel. I have had to put in <char10> and <char13> into my sql data to have it display...
2
by: pinocchio123 | last post by:
i want to store data ie available in a webpage in a spread sheet... i am creating an empty excel file using.. $excel = new Spreadsheet_Excel_Writer('hardware.xls'); but... i dont know how to...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.