dialog update links yes/no

usl

Board Regular
Joined
Jan 28, 2005
Messages
71
I got a master sheet linked to other sheets,

everytime the file is being open the dialog is comming "would you like to update the links yes/no "
I don´t want this dialog to pop up.
The linking should just update automatically.


I tried with this macro, but did not work, what did I do wrong ?

Sub Workbook_Open()
Application.AskToUpdateLinks = False
End Sub

I know I can just turn off this dialog under:
->tools -> options -> edit -> tickbox (ask to update links)

but since I am sitting on diferent workstations it would be easier if the macro would solve this.


Thanks a lot in advance for you help.

best regards
usl
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Try this


Private Sub Workbook_Open()
ThisWorkbook.SaveLinkValues = True
Application.AskToUpdateLinks = False
End Sub
 
Upvote 0
thanks

Thanks but that didn´t help.

I just saw in a german forum, they say it is not possible to do this with a macro, because befor the macro runs the check for links has alredy been done ( like done within the second the file is beeing opend)

so I guess I just have to live with the dialog, or use the tickbox
under options.

Thanks again anyway for you help
 
Upvote 0

Forum statistics

Threads
1,214,621
Messages
6,120,568
Members
448,972
Latest member
Shantanu2024

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