|
这个还是比较简单的:
- '引用:
- 'Library SHDocVw
- ' C:\WINDOWS\system32\SHDOCVW.dll
- ' Microsoft Internet Controls
- Sub Inputall()
- Dim mShellwindows As New ShellWindows, IE As InternetExplorer, arr, i As Long, j As Long, title
- arr = Sheet1.UsedRange
- title = Split(" xm xb nj bj jtdz hj lb pklx zxf")
- For Each IE In mShellwindows
- If IE.LocationName Like "*pk_xslr.htm*" Then Exit For
- Next
- With IE.Document
- For i = 2 To UBound(arr)
- For j = 2 To 10
- .all(title(j)).Value = arr(i, j)
- Next
- .all("b1").Click
- Do While IE.Busy
- DoEvents
- Loop
- Next
- End With
- End Sub
复制代码 |
评分
-
1
查看全部评分
-
|