Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Open Excel file stored on Web

I have an Excel file stored on the web.

I would like users to be able to access a certain URL or internet
address of some description to open the Excel file in Excel itself
(not in Internet Explorer).

I've tried using VBscript (by itself as a .vbs file) but it throws up
a warning when the user accesses it. Similarly, if the VBscript is
embedded in an html file, an ugly ActiveX warning is thrown up at the
user.

Is there any way of avoiding these warnings ? Is there another way ?
Thanks for your help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Open Excel file stored on Web

The filename in a workbook open statement can have 3 formates

set bk = workbooks.open(Filename:=FName)

where FName can be

1) "c:\temp\book1.xls"
2) "\\mydrive\temp\book1.xls"
3) "//www.microsoft.com/abc/book1.xls" provided the proper access
priviledges are ganted.

"tianung" wrote:

I have an Excel file stored on the web.

I would like users to be able to access a certain URL or internet
address of some description to open the Excel file in Excel itself
(not in Internet Explorer).

I've tried using VBscript (by itself as a .vbs file) but it throws up
a warning when the user accesses it. Similarly, if the VBscript is
embedded in an html file, an ugly ActiveX warning is thrown up at the
user.

Is there any way of avoiding these warnings ? Is there another way ?
Thanks for your help.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Open Excel file stored on Web


Chip Pearson has a method that can be adapted for your needs

'Downloading A File' (http://www.cpearson.com/excel/DownloadFile.aspx)


--
royUK

Hope that helps, RoyUK
For tips & examples visit my 'web site' (http://www.excel-it.com/)
------------------------------------------------------------------------
royUK's Profile: http://www.thecodecage.com/forumz/member.php?userid=15
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=117511

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
Open a workbook using a stored name JB Excel Programming 3 July 14th 09 02:54 PM
using a workbook to open more workbooks with filenames stored in cells [email protected] Excel Programming 5 January 16th 07 04:49 PM
FYI: One macro really helped for capturing data from multiple workbook stored in a specific folder to one excel file only Smits Excel Programming 0 November 8th 06 04:37 AM
Capture data in one 'destination' file from varied 'source' file stored in one single folder. Smits Excel Programming 4 October 7th 06 12:35 PM
In Excel - Use Windows Explorer instead of File Open to open file KymY Excel Discussion (Misc queries) 1 August 5th 06 09:59 PM


All times are GMT +1. The time now is 07:06 AM.

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"