0
방금 IE11로 업데이트되었습니다. 내 보고서 (매크로)에 대한 업데이트를 만들었고 실행 오류가 발생했습니다 ... 런타임 오류 '13': 형식이 일치하지 않습니다. 내가 디버깅 할 때, 아래가 나를 데려가는 곳입니다 - 특별히 Set pDocument = IE.document ... 제발 도와 줄 수 있어요. 고맙습니다.이 IE 탐색기로 업데이트되었습니다. 11. Marco 업데이트가 작동하지 않습니다.
Set IE = CreateObject("InternetExplorer.Application")
IE.navigate "https://famis.web.fedex.com/fwr/menus/menu-15-a.cfm?chgDiv=1&Division=09"
With IE
.Top = 1
.Left = 1
.Height = 400
.Width = 600
End With
IE.Visible = True
Do While IE.Busy
Loop
Dim pDocument As IHTMLDocument2
Dim pElements As IHTMLElementCollection
Dim pElement As IHTMLElement
Set pDocument = IE.document
Set pElements = pDocument.all
Worksheets("Setup").Range("A10").Value = IE.LocationName
If IE.LocationName = "SSO Login" Then
디버그 중에 '? 실제 형식을 확인하려면 직접 실행 창에 'TypeName (IE.document)'. 어떤 Excel 버전을 사용하고 있습니까? 32 또는 64 비트? – omegastripes
어떤 참조를 사용 설정 했습니까? –