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: 87
Default IE Automation - Trouble getting changes recognized/committed

Hi,

I'm attempting to script some stuff for IE, but I'm having a bit of
difficulty. The pages utilize javascript.

Essentially, I'm attempting to enter a value in an array, second
location. Then I want to be able to submit the form using Click on
the Hc_Find item. However, for some reason I need to call the Click
function twice for it to work. What am I doing incorrectly?
----
Set Details = IE.Document.all.Item("qbe0_1.1")
Details.Select
Details.Value = "666150"

Set Details = IE.Document.all.Item("Hc_Find")
Details.Click
Details.Click
----

Second, and probably related, I'm trying to enter a value into another
location. Unfortunately, this one I only am able to click once,
therefore the above workaround won't work.
----
Set Details = IE.Document.all.Item("0_136")
Details.Select
Details.Value = "12"
Details.Click

Set Details = IE.Document.all.Item("Hc_Ok")
Details.Click
----

Any help/advice would be appreciated. (Plus a simplistic intro to the
Document model would be nice, if you have a link)

Thanks,
Scott

 
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
UDF Not recognized Rookie_User Excel Worksheet Functions 3 January 29th 10 10:16 PM
Using VBA to change a cell format to date doesn't get "committed" nick Excel Discussion (Misc queries) 3 March 31st 09 08:26 AM
date not recognized The Stumper Excel Discussion (Misc queries) 8 May 22nd 07 02:57 PM
Add-In not Recognized naive14 Excel Programming 2 May 11th 07 09:10 PM
Data isn't being recognized. ConfusedDataMonkey Excel Worksheet Functions 1 January 20th 05 04:41 PM


All times are GMT +1. The time now is 08:51 PM.

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

About Us

"It's about Microsoft Excel"