problem wiht window.open() for csv file
I’m having a problem with HTML link to CSV (comma delimiter) file using window.open() JavaScript function.
It opens two windows: first is unexpected empty Excel and another is Browser window with embedded Excel sheet.
How to suppress empty Excel window?
Vincent Puglia posted this at 01:41 — 11th March 2000.
They have: 634 posts
Joined: Dec 1999
Hi,
What are the parameters you are passing?
------------------
GrassBlade: cut&paste javascript
AlexG posted this at 05:28 — 11th March 2000.
They have: 3 posts
Joined: Mar 2000
Hi Vincent. The parameters are correct.
open (url, window name, format).
The problem is related to the file reader (in this case Excel). Unfortunately there is no way to talk with reader from HTML page (how I'm thinking). But, may be it is some trick?
Thanks, Alex.
Vincent Puglia posted this at 01:29 — 12th March 2000.
They have: 634 posts
Joined: Dec 1999
Hi Alex,
If you're certain the parms are good, can't help. Try the newsgroup at:
microsoft.public.scripting.jscript
Quite a few people there play with Excel.
Sorry couldn't help more.
Vinny
------------------
GrassBlade: cut&paste javascript
Where the world once stood
the blades of grass cut me still
tazman posted this at 03:59 — 13th March 2000.
They have: 99 posts
Joined: May 1999
Any way you can rename the .csv file to another extension????
I believe the problem lies in the association of a .csv file with excel (.csv is a common file type used to export a spreadsheet or data so another program (Excel) can open and import the data.)
If you can rename the file extension, it may resolve the issue.
Tazman
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.