code for opening excel

M

Miguel Orrego

Hi,

Does anybody know some code that opens a spreadsheet in excel rather than
the browser? If possible something that can be used with response.redirect,
however this isn't essential. I have a script that creates an excel report,
and people then open this report from a link. However I've been asked
whether it could be opened in excel.

Cheers.
 
R

Ray at

I assume you mean on the client. You can use this code to prompt the
open/save dialog and instruct the user to choose to open the file.
http://www.aspfaq.com/2161

Whether or not Excel opens in IE or Excel is a client setting (browse in
same window for .xls file extension)

Ray at work
 
T

Tom B

If your users are using IE and trust your site, you can use vbscript to
instantiate excel and open it(client-side)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top