Thanks to the great threads on this forum, this is only the second time i've come to dead end and need help.
All the other times i've able to adapt a bit of code here and there to suit my needs....
here's my problem. What I've been doing is automating a couple of functions run from excel to get data from the internet etc.
in order to do this i use sendkeys a lot. Not the most gracefull solution i agree, but it works for now.
Every time you push a button on the web however, you get a slight delay, while the next page loads. This delay messes up your next couple of sendkeys.
so I've using this:
Application.Wait (Now + TimeValue("0:00:2"))
works great!
on most pc's. We are on terminal servers here and some are normal desktop pcs setup as terminal clients, while others are small, slick looking.... and dont do my code...
any tips, workarounds?
tried this to no avail somehow:
Do Until oIE.readyState = READYSTATE_COMPLETE
DoEvents
Loop
thanks anyway for reading all the way to the bottom of this post, even if you don't reply...
stijn
All the other times i've able to adapt a bit of code here and there to suit my needs....
here's my problem. What I've been doing is automating a couple of functions run from excel to get data from the internet etc.
in order to do this i use sendkeys a lot. Not the most gracefull solution i agree, but it works for now.
Every time you push a button on the web however, you get a slight delay, while the next page loads. This delay messes up your next couple of sendkeys.
so I've using this:
Application.Wait (Now + TimeValue("0:00:2"))
works great!
on most pc's. We are on terminal servers here and some are normal desktop pcs setup as terminal clients, while others are small, slick looking.... and dont do my code...
any tips, workarounds?
tried this to no avail somehow:
Do Until oIE.readyState = READYSTATE_COMPLETE
DoEvents
Loop
thanks anyway for reading all the way to the bottom of this post, even if you don't reply...
stijn