CIUFFO
18-01-2013, 18:12
Da Access in Vba ho una routine che utilizza Send Keys per inviare una sequenza di tasti ad una casella di testo di una pagina di windows explorer, e ha sempre e funzionato con XP e ie8. Ho cambiato il pc passando a windows 7 e ie9 e non funziona pił, come mai?
Private Sub EtichettaMittente_Click()
Dim PasswordWU As String
PasswordWU = DLookup("[PasswordWU]", "[INTESTAZIONI]")
Me.SetFocus
AppActivate "Ofnet Finint IT - Windows Internet Explorer"
SendKeys PasswordWU + "{ENTER}"
End Sub
Private Sub EtichettaMittente_Click()
Dim PasswordWU As String
PasswordWU = DLookup("[PasswordWU]", "[INTESTAZIONI]")
Me.SetFocus
AppActivate "Ofnet Finint IT - Windows Internet Explorer"
SendKeys PasswordWU + "{ENTER}"
End Sub