Home |
Search |
Today's Posts |
#1
Posted to comp.lang.javascript,comp.lang.java.javascript,microsoft.public.excel.programming
|
|||
|
|||
Two Questions about the Following Block of Code
Thanks, Lee.
I tried document.write("<a href='" + strFile + "' target='_top'"); // OR using '_blank' It still cannot open the Excel file. My question is, 1) Is the line "document.write( )" indeed the way in Netscape to open an Excel file if you pass a http:/ link? Is so, why didn't it work? Are there any other ways to open files in Netscape? 2) In Internet Explorer, I had to use a different way (creating ActiveX instance shown in my earlier message) to open an Excel file. How to force opening the file in NON-ReadOnly mode? I tried many things, but none of them was working. Thanks millions! Helena Lee wrote in message ... Greener said: 2) Any problems with the lines with document.write (...), as indicated below? document.write("<a href='" + strFile + "' target="_top""); Should be: document.write("<a href='" + strFile + "' target='_top'"); |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Block cracking code from opening protected excel sheets | Excel Discussion (Misc queries) | |||
Answers to questions posing more questions in a workbook | Excel Worksheet Functions | |||
Object or with block not set | Excel Worksheet Functions | |||
View Questions and Answer to questions I created | Excel Discussion (Misc queries) | |||
End if without Block If | Excel Worksheet Functions |