Although the following background information is not so relevant to the question, I am including it in case you are curious:
I am running:
xlWorkBook.RefreshAll();
on an Excel workbook, and sometimes I get this message:

Using c# .NET 3.5 I would like to get rid of this pop up immediately after detecting it.
How can I programmatically detect it and close it / press OK?
Please note that I want to be able to identify this pop up even if it is in the background!
You should be able to set display alerts to false and avoid these