Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to comp.lang.javascript,comp.lang.java.javascript,microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Block cracking code from opening protected excel sheets Barbara Excel Discussion (Misc queries) 5 March 31st 10 05:00 PM
Answers to questions posing more questions in a workbook sbelle1 Excel Worksheet Functions 2 August 8th 09 01:02 AM
Object or with block not set sidw0501 Excel Worksheet Functions 0 November 24th 08 07:27 PM
View Questions and Answer to questions I created Roibn Taylor Excel Discussion (Misc queries) 4 July 24th 08 12:05 AM
End if without Block If Carrie_Loos via OfficeKB.com Excel Worksheet Functions 7 May 14th 08 06:47 PM


All times are GMT +1. The time now is 05:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"