View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel[_730_] joel[_730_] is offline
external usenet poster
 
Posts: 1
Default Queries created by MS Query not in QueryTables collection


How are you referening the collection? Are you starting the indexing at
zero?


Usually I get all the queries on the worksheet using the following

for each qry in sheets("sheet1").queries
msgbox("Query Name : " & qry.name)
next qry


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=183104

Microsoft Office Help