In my first worksheet I have a list of states and state abrivations I want to refreence each of the states and return their results on a new worksheet. I've been able to scrap together most of the code, but i'm missing the first part of the code which declares the reference...I Think?!

Looking forward to you input, thanks!

Code:
        MyName = "Query" & State
        ConnectString = "URL;http://sites.target.com/site/en/spot/state_results.jsp?state=" & State
        ThisWorkbook.Worksheets.Add
        ActiveSheet.Name = State
 
        ' On the Workspace worksheet, clear all existing query tables
        For Each QT In ActiveSheet.QueryTables
            QT.Delete
        Next QT
...