Hi everybody,
First of all, I'm kind of a newbie at VBA. I'm trying to log in to a website with a username and password using VBA, but the only pieces of code I know either input information into the fields by using getElementsById and then adjusting the .Value of the input field, or they loop through elements via "getElementsByTagName", but then I'm not sure how to adjust the value and put a username or password in there.
My code is below; you'll probably find the relics of many efforts including copy/paste, etc.
(BTW in case there's any confusion as to why there's no explicit password strings within the code, it's for security reasons, I don't actually want to store the login info anywhere--what I'm aiming for eventually is where I can press a button, a window pops up asking for name and password, and then once I type that in and press enter, the VBA code will just do everything on the website. A little ambitious, especially for a newbie, I know. I'm confident I can get all the other little parts done, and I did get this code working on Gmail, but I'm having trouble with this site in particular. (Knowing me, it's probably something small that I'm missing))
This is the HTML form:
How 'bout it, guys? What am I doing wrong?
Bookmarks