Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
My web application generates an excel and sets a filename to the excel for
download. Sample file name is "aaa-09.02.2006-to-09.08.2006.xls". This is how the code will show: response.setContentType("application/vnd.ms-excel"); response.setHeader("Content-Disposition", "attachment; filename="+fileName+";"); But when I try to download the excel from the application, excel opens / saves the file as aaa-09[1].02.2006-to-09.08.2006.xls thereby inserting numbers to the filename. I have tried the solutions given in the group like setting the Excel "OPEN" as default,etc., but nothing seemed to work. Please let me know how to force excel to retain the filename. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Comparing Data from two 2 worksheets | Excel Discussion (Misc queries) | |||
Detecting Cancel in an InputBox Method | Excel Discussion (Misc queries) | |||
Changing a Number in a Column Using Arrays | Excel Worksheet Functions | |||
Pulling Data off Web - Need Function Help | Excel Worksheet Functions | |||
The number 1 is appened to filename after file is opened | Excel Discussion (Misc queries) |