Try
Sub Scrape()
'
' Scrape Macro
'
'
For i = 1 To Cells(Rows.Count, 1).End(xlUp).Row
ThisParcel = ActiveSheet.Cells(i, 1)
ThisValue = ActiveSheet.Cells(i, 2)
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://epip.co.pierce.wa.us/cfapps/atr/epip/taxvalue.cfm?parcel=" & ThisParcel, Destination:=Range("$C$2"))
.Name = "taxvalue.cfm?parcel=" & ThisParcel
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = "10"
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With
ActiveSheet.Cells(i, 2) = Range("F3")
Columns("C:Z").Clear
Next i
End Sub
Sub Macro3()
'
' Macro3 Macro
'
'
Range("F3").Select
Selection.Copy
Range("B1").Select
ActiveSheet.Paste
Range("D2:K11").Select
Application.CutCopyMode = False
Selection.QueryTable.Delete
Selection.ClearContents
Range("B2").Select
End Sub
Bookmarks