|
▼失礼しました.
以下のような処理をしています.
宜しくお願いいたします.
------------------------------------------
Dim ConnString As String
For i = 1 To 100
ConnString = "URL;http://ABC.co.jp/DEF/HIJ" & i & ".htm"
With ActiveSheet.QueryTables.Add(Connection:=ConnString, Destination:=Range("A1"))
.Name = ConnString
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlAllTables
.WebFormatting = xlWebFormattingNone
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.Refresh BackgroundQuery:=False
End With
next
|
|