Macro
Macro
With OIE
.Visible =True
.Navigate sSiteName
End with
Sub Test1()
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = 1
IE.navigate "https://isharenew.dhl.com/sites/gscmaa/Lists/Operations
%20Cockpit/NewForm.aspx?Source=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fisharenew%2Edhl%2Ecom%2Fsites%2Fgscmaa
%2FLists%2FOperations%2520Cockpit%2FProfile%2520View%2Easpx&RootFolder="
Do While (IE.Busy)
WScript.Sleep 100
Loop
'IEdocument.getElementById("Title_fa564e0f-0c70-4ab9-b863-
0177e6ddd247_$TextField").Value_ = "UN123"
HTMLDoc.all("Title_fa564e0f-0c70-4ab9-b863-0177e6ddd247_$TextField").Value_ =
"UN123"
End Sub
Sub Button1_Click()
navigate:
IE.navigate "https://isharenew.dhl.com/sites/gscmaa/Lists/Operations
%20Cockpit/NewForm.aspx?Source=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Fisharenew%2Edhl%2Ecom%2Fsites%2Fgscmaa
%2FLists%2FOperations%2520Cockpit%2FProfile%2520View%2Easpx&RootFolder="
With oHDoc
.getElementById("Title").Value = ""
.getElementById("Business Partner Name *").Value = "FREIGHT FI"
.getElementById("Service *").Value = "IC"
End With