E
Ed
Using VBA in Word 2003, I've managed to navigate to a web page
(Windows XP, IE6sp2) and set an object to it, then find the two
elements on the page that I want and set objects to them also. All I
want to do is select a checkbox, then select the Next Page - lather,
rinse, repeat until I run out of pages. But I can't run the
JavaScripts that activating these elements is supposed to run.
I can find the checkbox and set
objCB.Checked = True.
Looking into the page code, the OnClick event is set to run a
JavaScript function named "selectAllCB". I tried
objCB.onclick = "selectAllCB"
but no joy.
Likewise, I can find the "Next" link, but I can't activate it to run
"javascript:showPage(2)".
How can I do this through VBA?
Ed
(Windows XP, IE6sp2) and set an object to it, then find the two
elements on the page that I want and set objects to them also. All I
want to do is select a checkbox, then select the Next Page - lather,
rinse, repeat until I run out of pages. But I can't run the
JavaScripts that activating these elements is supposed to run.
I can find the checkbox and set
objCB.Checked = True.
Looking into the page code, the OnClick event is set to run a
JavaScript function named "selectAllCB". I tried
objCB.onclick = "selectAllCB"
but no joy.
Likewise, I can find the "Next" link, but I can't activate it to run
"javascript:showPage(2)".
How can I do this through VBA?
Ed