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/271240-how-disable-update-alert-when-open-spreadsheet-has-link-other-xls.html)

Chong Moua

How to disable 'Update alert' when open a spreadsheet has link to other XLS
 
Hi Wellie,

Try this...
---------------------------------
Private Sub Workbook_Open()

ActiveWorkbook.UpdateLinks = xlUpdateLinksNever
If Application.UserName = "MyName" Then UpdateLink _
Name:=LinkSources

End Sub
----------------------------------
Hope this helps...

Chong Moua

-----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 07:31 PM.

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