Hello all, I use this site all the time and can usually find the help I need without having to post a question. I have the code to auto run a macro after a query refresh, but my problem is that it wont work with multiple queries.
This is the initialize code that I think is causing the problem. Can someone help me figure out how to make this work with multiple queries? Thank you
Code:
Dim X As New Class1
Sub Initialize_It()
Set X.qt = Thisworkbook.Sheets(1).QueryTables(1)
End Sub