DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub sgk1()
Zaman = Timer
Shell "taskkill /f /im iexplore*"
basla = Timer: While (Timer - basla) < 0.5: Wend
Set ie = VBA.CreateObject("internetexplorer.application")
URL = "https://uyg.sgk.gov.tr/SigortaliTescil/amp/loginldap"
With ie
.Navigate URL
.Visible = True
Do While .Busy: DoEvents: Loop: Do While Not .readyState = 4: DoEvents: Loop
basla = Timer: While (Timer - basla) < 0.5: Wend
.Document.getelementsbyname("j_username")(0).Value = Range("b2")
.Document.getelementsbyname("isyeri_kod")(0).Value = Range("c2")
.Document.getelementsbyname("j_password")(0).Value = Range("d2")
.Document.getelementsbyname("isyeri_sifre")(0).Value = Range("e2")
End With
End Sub