Howdy. Two points:
1. Code
Code:
Application.DisplayAlerts = False
Display alerts only works when the macro is running. So, the best place to use the above code is in the Open Workbook module.
expression.Open(FileName,
UpdateLinks[I], ReadOnly, Format, Password, WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable, Notify, Converter, AddToMru, Local, CorruptLoad)
Value Meaning
0 Doesn 't update any references
1 Updates external references but Not remote references
2 Updates remote references but Not external references
3 Updates both remote And external references
2. Preferences
If you want to turn off the "Update Links" prompt. Go to Edit - Edit Links - Startup Prompt and then change the preferences.