|
|
JAVASCRIPT AND EXCEL, SET OUTPUT FILE NAME
Hi, Is it possible to set the output file name of a excel file from
javascript?
I have a code which copies the content of an html page and pastes it
into excel. I want the user to save the document himself but I want to
suggest the file name so when the user clicks on the save button the
name is already set.
I have found the workbooks(1).name propertie but it seems to be
read-only.
Please help!
|
|
0
|
|
|
|
Reply
|
vic74625
|
10/7/2003 11:54:23 AM |
|
Hi dead,
dead wrote:
> Hi, Is it possible to set the output file name of a excel file from
> javascript?
>
> I have a code which copies the content of an html page and pastes it
> into excel. I want the user to save the document himself but I want to
> suggest the file name so when the user clicks on the save button the
> name is already set.
>
>
> I have found the workbooks(1).name propertie but it seems to be
> read-only.
>
> Please help!
From the little you're giving about your code, I can only assume a few
things.
// assuming you've previously gotten a reference to the workbooks object
workbooks(1).SaveAs("c:\\dir\\MyNewFileName.xls");
See Microsoft site (MSDN) for Excel DOM
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wrcore/html/wrconexcelobjectmodeloverview.asp
Cautiously,
Stephen
|
|
0
|
|
|
|
Reply
|
Stephen
|
10/7/2003 5:58:02 PM
|
|
|
1 Replies
501 Views
(page loaded in 0.033 seconds)
Similiar Articles: JAVASCRIPT AND EXCEL, SET OUTPUT FILE NAME - comp.lang.javascript ...Hi, Is it possible to set the output file name of a excel file from javascript? I have a code which copies the content of an html page and pastes it ... DDE EXCEL close the file - comp.soft-sys.sasJAVASCRIPT AND EXCEL, SET OUTPUT FILE NAME - comp.lang.javascript ... DDE EXCEL close the file - comp.soft-sys.sas... data _null_; file out&num._yr; set ... get a list of ... ODS output CSV file with a title: - comp.soft-sys.sasJAVASCRIPT AND EXCEL, SET OUTPUT FILE NAME - comp.lang.javascript ... ODS output CSV file with a title: - comp.soft-sys.sas ODS output to Excel - comp.soft-sys.sas... Re: How to output the file names under a folder to a SAS dataset ...Re: How to output the file names under a folder to a SAS dataset ... how to create a new date variable in a dataset. - comp.soft-sys ... Re: How to output the file names ... Spreadsheet Link EX - comp.soft-sys.matlabJAVASCRIPT AND EXCEL, SET OUTPUT FILE NAME - comp.lang.javascript ... How can I get a list of spreadsheet sheet names from an Excel ... OUTDIR%%MEX_NAME%.pdb" /INCREMENTAL ... ORexx and automating pdf output for 300+ excel workbooks - comp ...In Win2000 settings, I've set up Acrobat ... of course a new window pops up asking for file name etc. ... comp.lang.rexx ORexx and automating pdf output for 300+ excel ... Cannot open output file (for executable) - comp.compilers.lcc ...JAVASCRIPT AND EXCEL, SET OUTPUT FILE NAME - comp.lang.javascript ... Cannot open output file (for executable) - comp.compilers.lcc ..... Maat\lcc" My output file name is ... Win32::OLE - saving content of just one worksheet in Excel - comp ...... file_type }) || print STDERR "didnt save the sheet $sheet_name of file $fullname_output ... Re: Excel Workbook Setting Error Message - comp.soft-sys.sas ... Win32::OLE ... how could the ODS Output dataset be output via xls similar to ...... listing; *ok, now we have a nice excel ... ods noptitle; *ods trace on; ods output table=odsoutput(keep=age name ... ODS output CSV file with a title: - comp.soft-sys.sas ... Preserving leading blanks when importing Excel sheet - comp.soft ...... And the first row of the output file ... length(name); put name ... blanks when importing Excel sheet - comp.soft ..... Mapping File For I Series.txt' dsd dlm = '|'; set ... JAVASCRIPT AND EXCEL, SET OUTPUT FILE NAME - comp.lang.javascript ...Hi, Is it possible to set the output file name of a excel file from javascript? I have a code which copies the content of an html page and pastes it ... JAVASCRIPT AND EXCEL, SET OUTPUT FILE NAME - JavaScript / Ajax / DHTMLJAVASCRIPT AND EXCEL, SET OUTPUT FILE NAME. JavaScript / Ajax / DHTML Forums on Bytes. 7/25/2012 10:51:17 AM
|
|
|
|
|
|
|
|
|