Hello all,
So I'm having a bit of trouble understanding Application.DisplayAlerts....
Why can it not stop this error from displaying...
I have this in a workbook open event and every time it opens it shows this alert. I also run some code to update my links which is why the alert is even more confusing...The links update just fine as well.
The following is the relevant code...
What am I doing wrong? :D Is it possible to not display that alert?
So I'm having a bit of trouble understanding Application.DisplayAlerts....
Why can it not stop this error from displaying...

I have this in a workbook open event and every time it opens it shows this alert. I also run some code to update my links which is why the alert is even more confusing...The links update just fine as well.
The following is the relevant code...
Code:
'I also tried this
'Application.AskToUpdateLinks = False
Application.ScreenUpdating = False
Application.DisplayAlerts = False
'the code here to update my links that I know works[INDENT=2]linkarray = Workbooks("Assembly.xlsm").LinkSources(xlExcelLinks)[/INDENT]
x = linkarray(1)
Workbooks("Workbook1.xlsm").OpenLinks x, True, xlExcelLinks
Workbooks("Workbook2.xlsm").Close False
Application.ScreenUpdating = True
Application.DisplayAlerts = True
What am I doing wrong? :D Is it possible to not display that alert?