P
pjnesbitt
Hi
I know it is possible to change the settings within internet explore
to launch excel when a link is clicked but i need this web page to ru
on more than one machine, so i was wondering if it is possible to use
script in the web page that would make excel launch when the link i
clicked.
I have found a script that will work for a word document and have trie
to change it so it will function for excel but it doesn't work, an
suggestions?????
Below is the script i have been trying,
<HTML>
<HEAD>
<SCRIPT LANGUAGE=VBScript>
Dim ojbexecl
Sub Btn1_onclick()
call Openxls("file:///P:\Test.xls")
End Sub
Sub Openxls(strLocation)
Set objexecl = CreateObject("Excel.Application")
objexecl.Visible = true
objexecl.Spreasheets.Open strLocation
End Sub
</SCRIPT>
</HEAD>
<BODY>
<INPUT TYPE=BUTTON NAME=Btn1 VALUE="Test.xls">
</BODY>
</HTML
I know it is possible to change the settings within internet explore
to launch excel when a link is clicked but i need this web page to ru
on more than one machine, so i was wondering if it is possible to use
script in the web page that would make excel launch when the link i
clicked.
I have found a script that will work for a word document and have trie
to change it so it will function for excel but it doesn't work, an
suggestions?????
Below is the script i have been trying,
<HTML>
<HEAD>
<SCRIPT LANGUAGE=VBScript>
Dim ojbexecl
Sub Btn1_onclick()
call Openxls("file:///P:\Test.xls")
End Sub
Sub Openxls(strLocation)
Set objexecl = CreateObject("Excel.Application")
objexecl.Visible = true
objexecl.Spreasheets.Open strLocation
End Sub
</SCRIPT>
</HEAD>
<BODY>
<INPUT TYPE=BUTTON NAME=Btn1 VALUE="Test.xls">
</BODY>
</HTML