LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel 2007 multiple Web Query problem! URGENT!

Hi,

I builted 4-5 years ago a massive program that download many web pages
from a web site, compile the data and cruch it on a daily basis. It
worked very well as long as I would never change, update or upgrade my
computer. Each time I would change my office or windows I have to
ajust my program. Anyway, here I am again with you know what. Excel
2007.

here is the bug:

I have a VBA that load an excel page, and then load a .IQY to get data
from the web. then process the info, copy it to a master file, clear
the excel sheet and load another one. I could do this up to a 100
times depending of the size of the data to download.

the bug i have in 2007 is that it seem to keep in memory the
FIRST .IQY and keep loading the same one over and over even if I see
excel load the right .IQY. The results however is always identical
the the FIRST .IQY.

the only way for me to make this work is to completely CLOSE exel
(not just the file but also excel) and THEN load the second .IQY.
This is unthinkable manualy. In excel 2003 there is no problem!

this is a section of my VBA:

With ActiveSheet.QueryTables.Add(Connection:= _
"FINDER;\\pontiac\N-vma\Queries\Buick\high\2007 - 4BK26 - " &
CStr(I) & ".iqy", Destination:=Range("A1"))
.Name = "2007 - 4BK26 - " & CStr(I)
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlOverwriteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = False
.RefreshPeriod = 0
.WebSelectionType = xlAllTables
.WebFormatting = xlWebFormattingNone
.WebPreFormattedTextToColumns = False
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = True
.Refresh BackgroundQuery:=False
End With



Could someone tell me how to diable something like the memory of
dataconnection of excel 2007 ?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Query Wizard problem with Access 2007 extensions Showdad Excel Discussion (Misc queries) 0 December 4th 08 05:57 PM
IME MODE FOR EXCEL 2007 (URGENT URGENT) Stella Wong Excel Discussion (Misc queries) 1 August 23rd 08 11:16 PM
Excel 2007 / MS Query - editing existing query to another sheet Hotpepperz Excel Discussion (Misc queries) 0 June 13th 08 06:53 PM
MS Query problem after upgrade to MS Excel 2007 Sam Excel Discussion (Misc queries) 0 December 13th 07 08:47 AM
Excel Sheets Opens Itself Again After ADO Query ! Please Help It's Urgent ! Nader[_2_] Excel Discussion (Misc queries) 0 August 28th 07 09:39 AM


All times are GMT +1. The time now is 05:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"