View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
ward376 ward376 is offline
external usenet poster
 
Posts: 360
Default ODBC QueryTable Location (Cell address)

Dim ws As Worksheet
Dim qt As QueryTable

Sub qtAddy()
For Each ws In ThisWorkbook.Worksheets
For Each qt In ws.QueryTables
MsgBox qt.Destination.Address
Next qt
Next ws
End Sub

Thanks!
Cliff Edwards