LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Internet Explorer Automation from Excel and the ReadyState propert

After getting the automation tips for how to manipulate IE from Excel from
here and Dicks-blog, I've run into a bit of a snag that I hope is just based
on my lack of comprehension.

I'm using this loop to wait for the page to be ready as I saw in some
examples:

Do
DoEvents
tSystem.Sleep 0.8 ' I put this in to try to troubleshoot since delays seem
to help...
Loop Until IeApp.ReadyState = READYSTATE_COMPLETE


The ReadyState property doesn't seem to mean the same thing as I'd hoped.
Sometimes page can be done loading, ReadyState = 4, but not actually ready
for input. In this case when the keystrokes come, they just impact on the
surface of a busy page and are lost from the sequence.


Am I missing a ReadyState subtlety about frames, forms or scripts on a page?
Can anyone advise me on a better property to wait for if what I really want
is to know whether a keystroke or mouseclick will be accepted on a form in a
frame in IE?

Thank you for your attention,
Ryan

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer 7 & Excel 2000 MEAD5432 Excel Discussion (Misc queries) 0 October 15th 09 08:36 PM
Excel/VBA/Internet Explorer Alex[_30_] Excel Programming 1 November 22nd 05 05:09 PM
Internet Explorer & Excel David Excel Programming 0 February 4th 05 08:51 PM
Internet Explorer Automation with Excel VBA Joćo Rodrigues Excel Programming 0 July 22nd 04 06:55 PM
Help Internet Explorer Automation - How to run the script's ?? Joćo Rodrigues Excel Programming 0 September 5th 03 05:29 PM


All times are GMT +1. The time now is 07:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"