ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to disable 'Update alert' when open a spreadsheet has link to other XLS (https://www.excelbanter.com/excel-programming/271235-how-disable-update-alert-when-open-spreadsheet-has-link-other-xls.html)

andres a

How to disable 'Update alert' when open a spreadsheet has link to other XLS
 
Private Sub workbook_open()
un = Application.UserName
Select Case un
Case "xx1", "xx2", "xx3"
' if user is one of the above the prompt will not be
displayed
Application.DisplayAlerts = False
Case Else
Application.DisplayAlerts = True
' prompt will be displayed for other users
End Select

End Sub



-----Original Message-----
I'd like ONLY to have the 'Update or Don't Update alert
window' to be prompted when opening a spreadsheet that

has
link to other spreadsheets base on who open it.

Can someone please show me some code on how to do this ?

Thanks for any help.
.



All times are GMT +1. The time now is 09:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com