From my travels on the internet. I am reading that it is not possible
to Call more than one macro within the "Workbook_Open" function.
Is this true? If so then that may be the problem with this code.
Any assistance on getting this corrected would be great. Thanks ahead
of time.
Private Sub Workbook_Open()
Dim ws As Worksheet
Dim qt As QueryTable
For Each ws In ThisWorkbook.Worksheets
For Each qt In ws.QueryTables
'Clear QT data
qt.ResultRange.ClearContents
'Delete QT named range from workbook
'Delete query table
qt.Delete
Next qt
Next ws
Call URL_Sheet1_Query
Call URL_Sheet2_Query
Call URL_Sheet3_Query
Call URL_Sheet4_Query
End Sub
--
slimswol
------------------------------------------------------------------------
slimswol's Profile:
http://www.excelforum.com/member.php...o&userid=32014
View this thread:
http://www.excelforum.com/showthread...hreadid=520282