- ©«¤l
- 1
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 2
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN10
- ³nÅ骩¥»
- 64
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2022-1-4
- ³Ì«áµn¿ý
- 2022-1-20
|
·s¤âºô¸ôª¦ÂΨD±Ï
°õ¦æ¥H¤Uµ{¦¡½Xµo¥Í¡G°õ¦æ¶¥¬q¿ù»~'438'
Sub test()
Dim oIE3 As Object, oNode As Object
Set oIE3 = CreateObject("InternetExplorer.Application")
Sheets("Á`ªí").Cells(8, 2).Clear
With oIE3
.Visible = True
.navigate "¤½¥q¤º³¡ºô§}", "JavaScript"
Do While .Busy Or .readyState <> 4: DoEvents: Loop
.document.getelementbyid("RB_Current").Checked = Checked
.document.getelementbyid("RB_LPDA").Checked = Checked
.document.forms(0).All("btnExcel").Click
Do While .Busy Or .readyState <> 4: DoEvents: Loop
'If Application.Wait(Now + TimeValue("0:00:02")) Then
Sheets("Á`ªí").Cells(8, 2) = oIE3.document.getfullpath("/html/body/form/div[2]/div[4]/a").href
End With
oIE3.Quit
End Sub |
|