Q:

How do I find the SQL behind an excel QueryTable

I'm trying to figure out what query is used to get some information in a spreadsheet.  When a button is clicked the VBScript code goes to this code:
With Sheet3
  .Visible = True
  .Select
  .Range("A1").Select
  Selection.QueryTable.Refresh BackgroundQuery:=False
  .Visible = False
End With

The only text in Sheet3 cell A1 is the text 
"O U T A G E   D A T A   F O R   D A I L Y   G R I D   S U M M A R Y"
I'm trying to figure out how they're getting the data (quite a large amount of it) from that QueryTable.  How can I find the actual query behind that QueryTable?
Thank you

A:

Here's what I found:  I went to sheet 3 and then clicked the "Data" tab.  Everything in the "Get External Data" section was grayed out.  But if I clicked the drop down box below the Refresh All icon and click the "Connection Properties" link I get the Connection Properties dialog box.  In the definition tab of that dialog box there is the url of a web query.  
And that's where the data is coming from.

