![]() |
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 |
All times are GMT +1. The time now is 02:18 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com