Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Do While qCount < 5
Set NewSheet = Sheets.Add(Type:=xlWorksheet) fir = firm & qCount & loppu With ActiveSheet.QueryTables.Add(Connection:= _ "FINDER;file:///H:" & fir, Destination:=Range("A1")) .Name = "Qval" .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 = "4,5" .WebPreFormattedTextToColumns = True .WebConsecutiveDelimitersAsOne = True .WebSingleBlockTextImport = False .WebDisableDateRecognition = False .WebDisableRedirections = False .Refresh BackgroundQuery:=False End With ActiveSheet.Name = apuFirma(laskuri) & "Q" & qCount qCount = qCount + 1 Loop Here is the working code also. Pivottables not pivotcaches, my bad on former message. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PivotTables | Excel Discussion (Misc queries) | |||
PivotTables | Excel Discussion (Misc queries) | |||
New to Pivottables- need help | Charts and Charting in Excel | |||
Drill Down in PivotTables | Excel Discussion (Misc queries) | |||
PivotTables/VBA | Excel Programming |