我正在尝试将网站数据复制到 XL 2003 有人告诉我使用“发送密钥”,但它不起作用。请有人帮助我。
Sub CopyInternetDoc()
Dim IntApp As Object
Set IntApp = CreateObject("InternetExplorer.Application")
With IntApp
' Change file name to suit
.Visible = True
.Navigate "http://test/"
CODE TO COPY data from "http://test/" to Excel
End With
ActiveSheet.Cells.Select
Selection.ClearContents
ActiveSheet.range("A1").Select
ActiveSheet.Paste
IntApp.Quit
Set IntApp = Nothing
End Sub