Annoying Error Message

peteypie76

New Member
Joined
Nov 13, 2016
Messages
8
Hi.

I run a spreadsheet that is dependent upon the live date. I have set up a data connection to a time server website. Unfortunately the location of the some of the screens displaying the spreadsheet occasionally drop the internet connection. This means that when the data connection runs the query (every minute) then it gets the error below. Once we clock ok and the internet wifi is restored then it will automatically refresh. Because it halts I have to get a technical team member to remote into it to click ok on every screen. It is a waste of time. If we could suppress the error then it would just work.

I cannot find a way on the menus to disable / suppress the error message. Does anyone know a way please?

time.png


Thanks
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi,

Have you tested
Excel Formula:
Application.DisplayAlerts = False
 
Upvote 0
Note: this will turn off all alerts, not just the one you asked about.

VBA Code:
Sub Macro1()

    Application.DisplayAlerts = False

End Sub
 
Upvote 0
Hi.

I run a spreadsheet that is dependent upon the live date. I have set up a data connection to a time server website. Unfortunately the location of the some of the screens displaying the spreadsheet occasionally drop the internet connection. This means that when the data connection runs the query (every minute) then it gets the error below. Once we clock ok and the internet wifi is restored then it will automatically refresh. Because it halts I have to get a technical team member to remote into it to click ok on every screen. It is a waste of time. If we could suppress the error then it would just work.

I cannot find a way on the menus to disable / suppress the error message. Does anyone know a way please?

View attachment 86509

Thanks
Did any of the replies work?
 
Upvote 0
Hi,

I added the line Application.DisplayAlerts = False to the window and it didn't work. I'm going tot try adding the following to the sheet.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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