ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Controling IE after security popup (https://www.excelbanter.com/excel-programming/389252-controling-ie-after-security-popup.html)

Nick

Controling IE after security popup
 
Im using the code below to login to a site, but once submit is
clicked, i get the "You are about to be redirected to a connection
that is not secure" popup, is there an automated way to click YES on
that popup, and yes i have the site in my trusted site list, and when
i access the site normally it shows as trusted.

Set ieapp = CreateObject("InternetExplorer.Application")
ieapp.navigate "myurl"
With ieapp.Document
.all("id").Value = "myid"
.all("pass").Value = "mypassword"

Set IPF = ieapp.Document.all.Item("SUBMIT")
IPF.Click
'need to click the YES button on the security popup
end with



All times are GMT +1. The time now is 10:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com