Hi,
Want log in to a website automatically with vba but the problem I am having when I inspect the login box there's no ID HTML only what's in the picture below, tried using this line of code but doesn't work:
Page source:
<input type="text" class="form-control" tabindex="1" id="LoginUsernameTextBox">
<input type="text" class="form-control" tabindex="1" id="LoginUsernameTextBox">
thanks
Want log in to a website automatically with vba but the problem I am having when I inspect the login box there's no ID HTML only what's in the picture below, tried using this line of code but doesn't work:
Code:
HTMLDoc.getElementById("login").Value = Worksheets("Portal_Access").Range("F20")
Page source:
<input type="text" class="form-control" tabindex="1" id="LoginUsernameTextBox">
<input type="text" class="form-control" tabindex="1" id="LoginUsernameTextBox">
thanks