Question : VBA code to paste into webpage textbox and select from a dropdown box.

I have a VBA 2003 project which tracks my Amazon sales.

I would like to paste text from the clipboard to a textbox on a Firefox browser Amazon webpage that is already loaded.  It must also select from a dropdown box the correct option.  

I have no problem using sendkeys.

I really don't know where to begin. Any help from the experts?

Answer : VBA code to paste into webpage textbox and select from a dropdown box.

To set the focus to FireFox use:
http://www.mvps.org/access/api/api0007.htm

To Yet the class name of Firefox to use in the above link use:
http://www.mvps.org/access/api/api0013.htm

The Sendkeys string for tab four times and then issue a sendkeys CRLF is:
Sendkeys "{Tab}{Tab}{Tab}{Tab}{Enter}"

For more explanation on setting focus on FireFox see:
http:Q_24894731.html
Random Solutions  
 
programming4us programming4us