**Definitely a beginner. Please bear with me. First attempt at web scrapping.**
I need the following URL to auto-login and retrieve a table from the website. I have pieced together VBA code from different websites to fill in the login information and hopefully pull a table but I am unable to figure out exactly what the tag/element names are.
I have posted the part of the coding, I have gotten to work from what I watched.
Option Explicit
Sub BrowseToSite()
Dim IE As New SHDocVw.InternetExplorer
IE.Visible = True
IE.navigate "itrac360.com/#/report/5b5628d7a6c91c1b56a0a4b9"
Do While IE.readyState <> READYSTATE_COMPLETE
Loop
Debug.Print IE.LocationName, IE.LocationURL
End Sub
Here is the HTML code from the site:
Username:
<input type="text" class="form-control ng-not-empty ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched" placeholder="Email" ng-model="loginForm.username" ng-required="true" autofocus="" required="required" aria-invalid="false" style="">
Password:
<input type="password" class="form-control ng-not-empty ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched" placeholder="Password" ng-model="loginForm.password" ng-required="true" required="required" aria-invalid="false" style="">
Login button:
<input value="Login" class="btn btn-primary form-control" type="submit">
Any assistance would be appreciated (insert begging for help here)
I need the following URL to auto-login and retrieve a table from the website. I have pieced together VBA code from different websites to fill in the login information and hopefully pull a table but I am unable to figure out exactly what the tag/element names are.
I have posted the part of the coding, I have gotten to work from what I watched.
Option Explicit
Sub BrowseToSite()
Dim IE As New SHDocVw.InternetExplorer
IE.Visible = True
IE.navigate "itrac360.com/#/report/5b5628d7a6c91c1b56a0a4b9"
Do While IE.readyState <> READYSTATE_COMPLETE
Loop
Debug.Print IE.LocationName, IE.LocationURL
End Sub
Here is the HTML code from the site:
Username:
<input type="text" class="form-control ng-not-empty ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched" placeholder="Email" ng-model="loginForm.username" ng-required="true" autofocus="" required="required" aria-invalid="false" style="">
Password:
<input type="password" class="form-control ng-not-empty ng-dirty ng-valid-parse ng-valid ng-valid-required ng-touched" placeholder="Password" ng-model="loginForm.password" ng-required="true" required="required" aria-invalid="false" style="">
Login button:
<input value="Login" class="btn btn-primary form-control" type="submit">
Any assistance would be appreciated (insert begging for help here)