У меня возникли проблемы с проверкой флажка с веб-страницы. Я пробовал:Установите флажок на веб-странице из Outlook
Do
' Wait till the Browser is loaded
Loop Until oBrowser.ReadyState = READYSTATE_COMPLETE
Dim HTMLDoc As HTMLDocument
Set HTMLDoc = oBrowser.Document
For Each oHTML_Element In HTMLDoc.getElementsByTagName("input")
If oHTML_Element.Type = "orderById" Then oHTML_Element.Click: Exit For
Next
Application.Wait (Now + TimeValue("0:00:05"))
oBrowser.Visible = True
'oBrowser.Document.forms(0).all("tdFilter").Item(0).Click
oBrowser.Document.forms(0).all("tdFilter").Click
'IE.Document.forms(0).all("tdFilter").CheckBox = True
' oBrowser.Refresh ' Refresh If Needed
Err_Clear:
If Err <> 0 Then
Err.Clear
Resume Next
End If
End Sub
конец это исходный код:
Это работает. Спасибо за ваше время. – wittman