You don't have to use JavaScript to do this. Just put a hyperlink on the page pointing to excel file and IE will open up Excel when users clicks on it.
>Thank you for answering me.
>I will have the excel worksheet on the server. The client will use
>java script to run a com on the server, that will produce data as a
>text file which will be located on the server temp dir. then
>I need to download to the client the temp file and the excel
>file. When the client opens the excel file a macro in the excel file
>will go get the temp file and do its thing to make a report.
>
>Sounds nuts I know.
>Please help
>Thanks,
>Doug
- Jayesh