I have a macro that should run 2 different subs, but the second won't "fire" after the first for some reason. The first is to refresh data, the second simply does some calculations after the refresh. Both work fine when run individually. Is there a need to close the data connection or something before the second sub will run?
Here's the code for the first sub, and the one that calls them both. . .
Here's the code for the first sub, and the one that calls them both. . .
Code:
Sub DataRefresh()
ActiveWorkbook.Connections("ESPSupport1").Refresh
End Sub
Public Sub InitialMacro()
Call DataRefresh
Call CurrentStatUpdate
End Sub