標題:
[發問]
用excel上網 可在vba 設好proxy的 user & password
[打印本頁]
作者:
user999
時間:
2012-6-7 17:39
標題:
用excel上網 可在vba 設好proxy的 user & password
那邊可加proxy的 user & password 還是要用其他方法
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://192.xx.xx.xx/abc.php?no=123, Destination:=Selection) '新增查詢
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = "1"
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
.Name = .ResultRange.Cells(3, 1)
End With
歡迎光臨 麻辣家族討論版版 (http://forum.twbts.com/)