![]() |
Link to external file
Hello, I have some excel files wich contain links to other excel files. Ho can Iprefent that when I open this excel file that excel is asking if would like to update the linked cells. Is there a VBA-instruction that I can run at startup of the file s that the linked cells are automaticaly updated without excel asking fo it? Tadashi -- Tadashi ----------------------------------------------------------------------- Tadashii's Profile: http://www.excelforum.com/member.php...fo&userid=2391 View this thread: http://www.excelforum.com/showthread.php?threadid=55257 |
Link to external file
There are 2 ways:
You can use Application.AskToUpdateLinks = False to have links always updated without prompt for all workbooks opened by a user. Or use ThisWorkbook.UpdateLinks = xlUpdateLinksAlways Then it works only for the current workbook. But you do not need to use VBA: To have links always updated without prompt for all workbooks opened by a user: On the Tools menu, click Options, and then click the Edit tab. Clear the Ask to update automatic links check box. If the box is cleared, the links are automatically updated, and no prompt is displayed. Only for the current workbook: On Edit menu, click Links. Click Startup Prompt. Select "don't display the alert and update prompt" |
All times are GMT +1. The time now is 09:05 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com