A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You could use the Worksheet_Change event to detect when the data is updated, and then run your macro. Simple example below assumes you have a QueryTable (i.e. data connection to the web) on Sheet1.
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Dim myConn As QueryTable
Set myConn = Me.QueryTables(1)
With myConn
If (Not Intersect(Target, Range(.Destination.Address)) Is Nothing) Then
MsgBox "The data was updated"
Call MyMacro(myParam1, myParam2)
End If
End With
End Sub
HTH,
Eric