1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Download file from internet automatically using download accelerator

Discussion in 'Software Development' started by shivdynamic, Dec 12, 2010.

Thread Status:
Not open for further replies.
  1. shivdynamic

    shivdynamic Thread Starter

    Dec 12, 2010
    Dear friends,
    I am trying to create a vb macro to download files from internet automatically. So far, I have written code which allows me to get redirected download link, and takes me to the popup of orbitdownload asking me to click "download button" (after do while loop in the code given below). I want to click that download button of orbit downloaded in the same script or another script. How can i do that. Any help will be appreciable.

    Sub getredirectedurls()

    Dim i, j As Long
    Cells(2, 1).End(xlDown).Select 'to get last row
    j = ActiveCell.Row

    For i = 2 To j
    Dim myIE As Object
    Set myIE = CreateObject("InternetExplorer.Application")
    myIE.Navigate Cells(i, 1).Text
    Do While myIE.Busy
    Cells(i, 2).Value = myIE.Document.URL
    Set myIE = Nothing
    Next i
    'sample url http://link.songs.pk/song1.php?songid=8000
    End Sub
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/968005

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice