EXCEL自动提取网页特定数据 20
1个回答
展开全部
在工具栏=>数据里面设置一个链接表,把网页表格导入excel进行处理
或VBA
Dim myQuery
With ActiveSheet
.Cells.Delete
.[a1] = "Conneting, Please Wait..."
Set myQuery = ActiveSheet.QueryTables _
.Add(Connection:="URL;网址", _
Destination:=.Cells(1, 1))
End With
With myQuery
.Refresh
End With
或VBA
Dim myQuery
With ActiveSheet
.Cells.Delete
.[a1] = "Conneting, Please Wait..."
Set myQuery = ActiveSheet.QueryTables _
.Add(Connection:="URL;网址", _
Destination:=.Cells(1, 1))
End With
With myQuery
.Refresh
End With
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询