Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
How come I keep always getting the same 100 items instead of the next 100? I wrote this code , of which I do not understand every line but something similar worked in other queries. Could you help? I'd be very gratefull. Herman Sub Macro5() Dim i As Integer For i = 0 To 3 With ActiveSheet.QueryTables.Add(Connection:= _ "URL;http://www.iec-iab.be/nl/diensten/zoeken/Pages/ Zoeken.aspx?all=true&page=i+1&count=100&ext=on&int ern=on" _ , Destination:=Range("$A$1").Offset(i * 103, 0)) .Name = "Zoeken.aspx?all=true&page=i +1&count=100&ext=on&intern=on" .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 = xlWebFormattingAll .WebTables = 5 .WebPreFormattedTextToColumns = True .WebConsecutiveDelimitersAsOne = True .WebSingleBlockTextImport = False .WebDisableDateRecognition = False .WebDisableRedirections = False .Refresh BackgroundQuery:=False .Delete End With Next i End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
pages open is wrong positions | Excel Discussion (Misc queries) | |||
Looping through data on consecutive pages | Excel Discussion (Misc queries) | |||
Consecutive Numbered Pages | Excel Discussion (Misc queries) | |||
RUN CONSECUTIVE EXCEL DATES ON DIFFERENT PAGES IN WORD DOCUMENT | Excel Worksheet Functions | |||
Retrieving FoxPro Data using Query | Excel Programming |