+ Reply to Thread
Results 1 to 6 of 6

open or download the workbook from the internet

  1. #1
    Forum Contributor
    Join Date
    02-18-2014
    Location
    hk
    MS-Off Ver
    Excel 365
    Posts
    105

    open or download the workbook from the internet

    Hi All,

    I want to open or download the workbook from the internet. but the path is too long so I can't use workbooks.open to open the file. I planned to download the workbook using IE object. but I wonder if I can directly open the workbook. Many Thanks.

    the path of the WB:
    http://www.bnb.bg/Statistics/StFinan...ION=SDMX_TABLE

    I currently type the path to A1. and use the following code to download.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: open or download the workbook from the internet

    Here is a routine I use to download files from some sites (incl. the BNB site)

    Please Login or Register  to view this content.
    If you are pleased with a member's answer then use the Star icon to rate it.

  3. #3
    Forum Contributor
    Join Date
    02-18-2014
    Location
    hk
    MS-Off Ver
    Excel 365
    Posts
    105

    Re: open or download the workbook from the internet

    Quote Originally Posted by buran View Post
    Here is a routine I use to download files from some sites (incl. the BNB site)

    Please Login or Register  to view this content.
    Thanks. It can run.

  4. #4
    Forum Contributor
    Join Date
    02-18-2014
    Location
    hk
    MS-Off Ver
    Excel 365
    Posts
    105

    Re: open or download the workbook from the internet

    I guess I encounter a problem on this code.
    I am not sure. but it seem that after I run this code. When I click a link which is a xls file in the webpage. IE don't pop up a box to ask me to choose open or save as.
    instead it directly open the file with the excel.

    If that's true, Can I add more code to enable the prompt for open or save option?
    I already edit regedit to enable the pop up.

    Quote Originally Posted by buran View Post
    Here is a routine I use to download files from some sites (incl. the BNB site)

    Please Login or Register  to view this content.
    Last edited by mrkhchan; 09-08-2015 at 10:54 AM.

  5. #5
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: open or download the workbook from the internet

    I don't have this problem. I don't see where it can alter your settings for IE. Do I understand correctly that you think it changes your settings and when you click some other link it starts to download, instead of asking?

  6. #6
    Forum Contributor
    Join Date
    02-18-2014
    Location
    hk
    MS-Off Ver
    Excel 365
    Posts
    105
    sorry, I found it is not due to the code.
    but i still don't know why my setting changed.
    yes, I found after i click the link. computer will directly use excel to open the file instead of popup a window and ask me open or save.
    Quote Originally Posted by buran View Post
    I don't have this problem. I don't see where it can alter your settings for IE. Do I understand correctly that you think it changes your settings and when you click some other link it starts to download, instead of asking?
    Last edited by mrkhchan; 09-09-2015 at 01:03 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Download CSV file from https:// internet
    By chinraj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2014, 08:23 AM
  2. VBA - IE - click on "Open" in an internet explorer "file download" window
    By victoire in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-22-2013, 07:08 AM
  3. Internet explorer download automation
    By exc4libur in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-28-2012, 05:23 PM
  4. How to download zip files from internet
    By Ranjani in forum Excel General
    Replies: 0
    Last Post: 05-21-2009, 06:25 PM
  5. Help to download internet files(spreadsheet)
    By joe12613 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-03-2008, 02:45 AM
  6. Download a CSV file from an internet site
    By Microchip in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2006, 07:45 AM
  7. Internet explorer download/XP Pro??
    By Maxwell-5000 in forum Excel General
    Replies: 1
    Last Post: 01-03-2006, 06:03 PM
  8. Download from the Internet into Excel
    By Edward in forum Excel General
    Replies: 4
    Last Post: 11-18-2005, 01:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1