Get data out of a webpage with VBA

前端 未结 2 1779
情话喂你
情话喂你 2021-01-27 06:46

I\'m trying to get some data out of this Webpage:

http://www.vodafone.de/privat/handys-tablets-tarife/smartphone-tarife.html

I want to have the whole table on t

2条回答
  •  不知归路
    2021-01-27 07:31

    Instead of:

    Do
        DoEvents
    
    Loop Until ie.readyState = READYSTATE_COMPLETE  
    

    You could try:

    Do While ie.Busy: DoEvents: Loop
    Do Until ie.ReadyState = READYSTATE_COMPLETE: DoEvents: Loop
    
    with ie
    ...
    end with
    

提交回复
热议问题