Consulting

Results 1 to 4 of 4

Thread: Downloading file from internet

  1. #1

    Downloading file from internet

    Hi

    I need help on downloading multiple file from an internet website.

    The site needs date in the following format (mm-dd-yyy) to donwload file for that particular date.

    Once i click sumit , the file save dialog box appears and the url is as follows:

    example : date 05-07-2006 the url is www.nseindia.com/content/historical/derivatives/2006/jul/fo06jul2006bhav.csv

    This file is for 05-07-2006. Similarly i want to donwload multiple files giving different dates as input in the form of a loop.

    Can someone help me automate this through a vba code.

    I am a complete beginner at vba

    Thanks

  2. #2
    Hi.

    The date format should be (dd-mm-yyyy), and not mm-dd-yyy.

    Thanks

  3. #3
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Here is a good discussion on downloading files from the internet to get you started:
    http://www.vbaexpress.com/forum/show...light=download
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  4. #4
    VBAX Contributor compariniaa's Avatar
    Joined
    Jun 2006
    Location
    Santa Clarita, CA
    Posts
    117
    Location
    i'm a bit of a beginner myself, so I can't be a great help, but I found this online:

    http://www.xcelfiles.com/Excel01.html

    hope it helps

Posting Permissions

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