Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Alternative to web query in Excel 97?

I was just wondering if there is a way to bypass creating .iqy files
in performing web queries in Excel 97. I have to download tables from
200+ websites, whose name only differs by 1 number (for example,
www.website.com/1.html, www.website.com/2.html, etc).

As far as I can see, in order to do this I have to create 200+ .iqy
files to be referenced within a macro. I have a VB code that makes
referencing easy, but the problem still lies with creating each single
..iqy file. Is there some way to perform a web query in Excel 97
without referencing these .iqy files? Some VB code that does the same
trick?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Alternative to web query in Excel 97?

Turn on the macro recorder and then Do
Data=Get External Data = New Web Query

and query one of your sites.

This should show you how to pass the target as a string to the query
commands. You can then build this string dynamically in a loop and automate
your web queries.

--
Regards,
Tom Ogilvy

"JW" wrote in message
om...
I was just wondering if there is a way to bypass creating .iqy files
in performing web queries in Excel 97. I have to download tables from
200+ websites, whose name only differs by 1 number (for example,
www.website.com/1.html, www.website.com/2.html, etc).

As far as I can see, in order to do this I have to create 200+ .iqy
files to be referenced within a macro. I have a VB code that makes
referencing easy, but the problem still lies with creating each single
.iqy file. Is there some way to perform a web query in Excel 97
without referencing these .iqy files? Some VB code that does the same
trick?

Thanks.



Reply
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
MS Query Alternative mr tom Excel Discussion (Misc queries) 3 March 13th 09 04:58 AM
Alternative to the limitations of the 'IF' function in Excel? Charles Excel Worksheet Functions 3 March 7th 09 02:24 AM
Is there an alternative to F11 in excel for an apple keyboard? Grandma G Excel Worksheet Functions 0 January 28th 09 04:02 PM
Any alternative to Microsoft Query? madeqx Excel Discussion (Misc queries) 2 June 15th 05 08:57 AM
Excel If function alternative saborbas Excel Worksheet Functions 6 April 24th 05 12:18 PM


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

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

About Us

"It's about Microsoft Excel"