LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
KtM KtM is offline
external usenet poster
 
Posts: 13
Default WebQuery(local)

Morning!
Problem with WebQuery from changing files


Read data from XXXX2005QY.html

Where Y is a variable, so it reads then automatically from specified
folder(also a string)
so the query woueld be something like BIGDIR+TARGETDIR+Q1-Q4 read into
different sheets and then modified(which works OK and produces graph as
supposed).
Problem is How to put the name in the loop so it reads through Q1 to Q4
automatically and naturally increases the destination to the same value
of Q while it does that.

I cant find a resource on how to input name as variable etc to With
ActiveSheet.QueryTables.Add(Connection:= _
"URL;????

The files are stored locally in a folder with subfolder for each
company. Idea is to read the reports automatically and create graphs of
the development. The naming standard is /local place/company
name/XXXX2005QY.html. In other words I need the webquery to change the
file 4 times and company x times(which should work with same strategy,
exept names are taken from a list in Excel, because the companies
change.)

Any ideas/help is
Deeply appreciated.

 
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
Webquery Neale Excel Worksheet Functions 3 August 25th 08 05:26 PM
Problem with webquery in VBA Wilco[_2_] Excel Programming 1 January 9th 05 01:48 AM
Webquery Othello Excel Discussion (Misc queries) 0 December 1st 04 12:41 PM
Reference styles and local/non-local formulae - international problems. Alan Howells[_2_] Excel Programming 2 February 24th 04 09:52 AM
Using Webquery via VBA Richard Winston Excel Programming 3 December 2nd 03 12:50 PM


All times are GMT +1. The time now is 07:24 AM.

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"