Excel Live Data Refresh - Stop all popups and errors

natheplas

Board Regular
Joined
Aug 28, 2016
Messages
97
Hi All,

I am pretty amateur at Excel VBA, so please bare with.

I have an excel workbook, this contains lots of worksheets with live data in SQL.

The issue I have, is each worksheet is set to data refresh every 5 minutes, independently.

Sometimes when it refreshes, it will give an error about data, or a SQL deadlock etc, however, when you click ok, the excel is fine.

My question is, is there a way to suppress all error pops via VBA, without going through each worksheet and changing what I have done?

Ideally, there would be a script or setting I can use, that just suppresses all error messages/notifications, that I can slot into the workbook and it applies to all worksheets.

Please let me know if anyone requires further explanation.

Thank you in advance!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top