Мне нужна помощь, чтобы выйти из моей веб-страницы после того, как все мои отчеты будут выполнены. У меня есть код для входа и работы с веб-страницей, но я сталкиваюсь с проблемой при выходе из моей веб-страницы. Ниже приведен код, который я использую:
Dim ie As InternetExplorer
Dim ieDoc As Object
Dim ieTable As Object
Dim clip As DataObject
Set ie = New InternetExplorer
With ie
.Visible = True
.navigate "abc.com"
Do Until .readyState = 4
DoEvents
Loop
("UserName").Value = "****"
("Password").Value = "*******"
.submit
End With
''''''''''''''''''''''''''''''''''
'my body of the code goes here
''''''''''''''''''''''''''''''''''
'''''Before the Sub ends i need the logout code to logout from the web page
End Sub