+ Reply to Thread
Results 1 to 2 of 2

How to speed up the script below if i have 10000 ip, loop 5000 times on .html page

  1. #1
    Registered User
    Join Date
    07-23-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    1

    How to speed up the script below if i have 10000 ip, loop 5000 times on .html page

    Hi All,

    I have excel spreadsheet with column ip address. I have 5000 unique ip. I tried to extract the data from few website. Can anyone help me how can i optimize my script, I am using CreateObject("InternetExplorer.Application"), it may due to this slow down the performance. Anyone have idea how can i turn my below script using Set xmlDoc = CreateObject("MSXML2.DOMDocument")
    or webquery, and this either method perform better performance? I need your expertise to advise me.

    Thank you.

    Regards,
    Micheale

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: How to speed up the script below if i have 10000 ip, loop 5000 times on .html page

    One speed improvement would be to move the Dims and CreateObject OUTSIDE of the For/Next. You should only need to create the object once.
    David
    (*) Reputation points appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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