Consulting

Results 1 to 6 of 6

Thread: Download Data From Internet using Excel macro

  1. #1
    VBAX Regular
    Joined
    Jul 2013
    Posts
    7
    Location

    Download Data From Internet using Excel macro

    Want to Download All Company name from dropdown of below URL


    Trying below code but its not working

    Sub COMPANYNAME()
    Dim ie As Object
    Dim s As Object
    Dim sm As String
    Set ie = CreateObject("internetexplorer.application")
    With ie
    .Navigate
    .Visible = True
    End With

    Set s = ie.Document.getElementById("ext-gen35")


    sm = s.selectedindex = 1



    End Sub


  2. #2
    VBAX Regular
    Joined
    Jul 2013
    Posts
    7
    Location
    Website Name is nseindia.com/corporates/offerdocument/recent_issue.htm

  3. #3
    VBAX Regular
    Joined
    Jul 2013
    Posts
    7
    Location

  4. #4
    VBAX Contributor
    Joined
    Feb 2009
    Posts
    103
    Location
    i don't think excel vba is a good way to accomplish your needs..

    you should try javascript, asp or php it would be much simpler and feasible.

  5. #5
    Knowledge Base Approver VBAX Wizard
    Joined
    Apr 2012
    Posts
    5,645
    Quote Originally Posted by joms
    i don't think excel vba is a good way to accomplish your needs..

    you should try javascript, asp or php it would be much simpler and feasible.
    You are mistaken. See e.g. webquery.

  6. #6
    VBAX Regular
    Joined
    Jul 2013
    Posts
    7
    Location
    Web query not working on this page....

Posting Permissions

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