ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   workbook contains automatic links (https://www.excelbanter.com/excel-programming/316856-workbook-contains-automatic-links.html)

T-Rex[_3_]

workbook contains automatic links
 
Is there a way to suppress or automatically answer the window which pops up:

"This workbook contains automatic links to infromation in another workbook.
Do you
want to update this workbook which changes...... To update .... click
yes....To keep .... clic no"


REX



Dave Peterson[_5_]

workbook contains automatic links
 
Saved from a similar question:

You can toggle the setting (user by user, though) via:

Tools|Options|Edit Tab.
There's a checkmark for "ask to update automatic links"

But this means that you suppress the question--the links still get updated.

This setting is for the individual user--and affects all their workbooks.

If you want more control:
Try creating a dummy workbook whose only purpose is to open the original
workbook with links updated:

Kind of like:

Option Explicit
Sub auto_open()
Workbooks.Open Filename:="c:\my documents\excel\book2.xls", UpdateLinks:=1
ThisWorkbook.Close savechanges:=False
End Sub

Then you open the dummy workbook and the links will be refreshed.
(read about that UpdateLinks argument in VBA's help.)

And xl2002 added an option that allows you to have more control:
Edit|links|startup prompt button.
check the "don't display the alert and update links"

T-Rex wrote:

Is there a way to suppress or automatically answer the window which pops up:

"This workbook contains automatic links to infromation in another workbook.
Do you
want to update this workbook which changes...... To update .... click
yes....To keep .... clic no"

REX


--

Dave Peterson


All times are GMT +1. The time now is 10:07 PM.

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