New Member
March 21, 2022
Hello,
Using VBA code after login into web i am clicking on one button which leads to me on next tab on IE browser where i need to enter the data into the textbox but i am getting an error. I am pasting my code below please help me out if possible. In below code in getting an error on "IE.Document.getElementsByName("telco11iProjectNumber").Value = "1234567""
Sub upload()
Dim myValue As Variant
' open IE, navigate to the desired page and loop until fully loaded
Set IE = CreateObject("InternetExplorer.Application")
my_url = "http://englogin.sbc.com/ELP/"
With IE
.Visible = True
.Navigate my_url
.Top = 50
.Left = 530
.Height = 400
.Width = 400
Do Until Not IE.Busy And IE.readyState = 4
DoEvents
Loop
End With
' Input the userid and password
IE.Document.getElementById("GloATTUID").Value = "Zf9775"
IE.Document.getElementById("GloPassword").Value = "MrsCooper$99"
' Click the "Login" button
IE.Document.getElementById("GloPasswordSubmit").Click
Do Until Not IE.Busy And IE.readyState = 4
DoEvents
Loop
' Click the "Continue" button
IE.Document.getElementById("successButtonId").Click
Do Until Not IE.Busy And IE.readyState = 4
DoEvents
Loop
' Click the "MIC" button
IE.Document.getElementById("btnMechanizedInventoryCreation").Click
Do Until Not IE.Busy And IE.readyState = 4
DoEvents
Loop
IE.Document.getElementsByName("telco11iProjectNumber").Value = "1234567"
' Enter JOB Number" button
'myValue = InputBox("Give me some input")
End Sub
1 Guest(s)