Displa Alert = False ... Not working

sacsona

New Member
Joined
Apr 21, 2020
Messages
36
Office Version
  1. 2016
Platform
  1. Windows
  2. Mobile
Hi

I need a big time help with the annoying excel warning pop up keep flashing upon every refresh of a web query. I have tried to use Display Alert = False, as well as Send keys = {ENTER}, but some how it is not working.

I have a web refresh every 2 mins and so eventually it pops up every 2 mins and some time after 15-20 mins... there is no set interval.

Can you pl help, suggest any alternative pls.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Are you using the full part of the code? Such as;

VBA Code:
Application.DisplayAlerts = False
 
Upvote 0
Ohh, yes.. that's what I mean... but it's just not working
 
Upvote 0
You haven't stated what the popup says.
 
Upvote 0
Hi Mark,

Thanks, it says [Expression Error: The field 'records' of the record wasn't found] ... pl note here records is the table name in the webquery.
1597299110092.png
 
Upvote 0

Forum statistics

Threads
1,215,757
Messages
6,126,693
Members
449,331
Latest member
smckenzie2016

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