Jake Marx wrote:
QueryTables can either be web or database driven. If it's a web
query, the following statement should evaluate to True:
Sheet1.QueryTables(1).Connection Like "URL;*"
Please look at K Dales' post for a better way to do this (QueryType
property).
--
Regards,
Jake Marx
MS MVP - Excel
www.longhead.com
[please keep replies in the newsgroup - email address unmonitored]