Autoselect Don't Update with data

zoog25

Active Member
Joined
Nov 21, 2011
Messages
418
Hello all,

I have a project i'm using that updates two spreadsheets that have similar information but in different orders. Anyways one log is a macro-enabled log and the other is a plane .xlxs. Anyways here is the situation, the ordinary log at one time had embedded data links to some type of old software that isn't really used anymore. The issue is that i can't update these links so the process is when you open the file, you select Don't Update on pop up warning that data link doesn't work.

Anyways I've written code that take information from the new log and checks the old log and updates both accordingly. My problem is that i get an error because of the pop up. How do i either bypass the pop up to make changes or how do i have the program select "Don't Update" if the option comes up.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
VBA Code:
Application.DisplayAlerts = False 
'Run your code here
Application.DisplayAlerts = True

This will turn off the alerts and then remember to turn them back on after your code has ran.

You could also use
VBA Code:
On Error Resume Next

Which will just ignore any errors and resume the next line of code
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

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