So I figured this out the other night and thought I'd share the solution. I'm sure it's obvious to most but it had me stumped. The issue I was facing, was the element I was attempting to interact with was set in an iFrame and therefore not present in my initial scrape. My solution was a queryselector in a few different ways. I shared my current code so at least those that were trying to help can tell me this is good or poke some fun if they like. I don't actually run it like this as my variables are defined elsewhere but I pulled them in for the snip.
I'm finishing it up tonight and I need to navigate a file browser to select a file. I can locate it just fine and I think UIAutomation will take care of that but as always, I'm open to suggestion. I am not good at this.
Public xBrowser As New SHDocVw.InternetExplorerPublic xUserName As String
Public xPassword As String
Public xClientCode As String
Public xSheet As Worksheet
Public xURL As String
With New SHDocVw.InternetExplorer
Public Sub xCampUpload()
xURL = "My Url"
xLogin = "My Url login page"
xBrowser.Visible = True
xBrowser.navigate xURL
Do Until xBrowser.Busy = False And xBrowser.readyState = READYSTATE_COMPLETE: DoEvents: Loop
With xBrowser.document
Set xSheet = Sheets("Info")
xClientCode = xSheet.Range("B4").Value
xUserName = xSheet.Range("B5").Value
xPassword = xSheet.Range("B6").Value
.querySelector("*[id='client_code']").Value = xClientCode
.querySelector("*[id='user']").Value = xUserName
.querySelector("*[id='pass']").Value = xPassword
.querySelector("*[id='loginButton']").Click
xBrowser.navigate xURL
Do Until xBrowser.Busy = False And xBrowser.readyState = READYSTATE_COMPLETE: DoEvents: Loop
.querySelector("*[id='configure']").Click
.querySelector("*[id='campaign-label']").Click
.querySelector("*[id='upload_campaign-button']").Click
.querySelector("*[class='inputFileName']").Click
xFileSelect
End With
' End With
End Sub