Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi I know it is possible to change the settings within internet explorer to launch excel when a link is clicked but i need this web page to run on more than one machine, so i was wondering if it is possible to use a script in the web page that would make excel launch when the link is clicked. I have found a script that will work for a word document and have tried to change it so it will function for excel but it doesn't work, any 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 -- pjnesbitt ------------------------------------------------------------------------ pjnesbitt's Profile: http://www.excelforum.com/member.php...o&userid=35827 View this thread: http://www.excelforum.com/showthread...hreadid=556068 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
Open link in Excel, not Windows explorer | Excel Discussion (Misc queries) | |||
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER | New Users to Excel | |||
Internet explorer is very slow in opening Excel Pivot Table lists | Excel Discussion (Misc queries) | |||
MAKING EXCEL AS HOME PAGE IN INTERNET EXPLORER | Excel Discussion (Misc queries) |