Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
pjnesbitt
 
Posts: n/a
Default Launching Excel From internet Explorer


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
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Open link in Excel, not Windows explorer amthyst826 Excel Discussion (Misc queries) 2 October 31st 05 11:14 PM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Internet explorer is very slow in opening Excel Pivot Table lists balkee Excel Discussion (Misc queries) 0 May 20th 05 03:58 PM
MAKING EXCEL AS HOME PAGE IN INTERNET EXPLORER Jagz Excel Discussion (Misc queries) 4 January 2nd 05 02:51 PM


All times are GMT +1. The time now is 09:39 PM.

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

About Us

"It's about Microsoft Excel"