On Jun 26, 12:15 pm, thepower...@gmail.com wrote:
> I would like help with writing code to access the internet and to
> select the appropriate data to download by having vba automatically
> select the appropriate CHECKBOXES on the website.
I probably did it the very hard way (one of my trademarks!), but I
managed something similar in Word VBA. I used objects Dim'd without a
type to get to the IE Application object, the IE Document object,
iterate through all the input and link objects until I found the name
of the one I wanted set an object to it, and then finally wound up
with objCB.onclick to actuate the on-click event of the checkbox and
run the associated script.
I got a lot of help from the following web sites:
http://slayeroffice.com/tools/modi/v2.0/modi_help.html
A Java Bookmarklet that runs an on-screen object identifier
http://www.w3schools.com/htmldom/dom_intro.asp
A breakdown of the IE document and application objects
http://msdn2.microsoft.com/en-us/library/ms531073.aspx
Another look at the IE document object
Have fun!
Ed