+ Reply to Thread
Results 1 to 2 of 2

error while downloading zip file from web using vba

Hybrid View

  1. #1
    Registered User
    Join Date
    04-07-2020
    Location
    India
    MS-Off Ver
    2007
    Posts
    2

    error while downloading zip file from web using vba

    Hi,

    I am trying to download a zip file from web. I am using excel 2007. I am using the below code.

    With CreateObject("MSXML2.XMLHTTP")
    .Open "GET", url, False
    .send
    ...
    End with
    But once the .send is executed, I am getting error that "The download of specified resource has failed"
    Please help me.
    Last edited by vaishali20; 04-07-2020 at 08:06 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,462

    Re: error while downloading zip file from web using vba

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    I did it for you this time. Please read forum rules. Thanks

+ 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. Run-time Error 91 When Downloading File From Link
    By JBaum2000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2020, 10:32 PM
  2. When downloading a text file how do I stop the request for the file name?
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2017, 04:58 AM
  3. Replies: 9
    Last Post: 12-23-2016, 10:54 PM
  4. downloading file from Web
    By headhair in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2014, 07:28 AM
  5. Task Scheduler Downloading an Empty, Bad File Before Actual File Exists...Not Good
    By jamesdeuce in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-23-2014, 01:25 PM
  6. Error downloading excel file
    By Wulfgar1224 in forum Excel General
    Replies: 2
    Last Post: 04-03-2007, 06:40 PM

Tags for this Thread

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