Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default 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"

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Link to Named Range in External File Jason Excel Discussion (Misc queries) 0 October 6th 09 05:42 PM
how do i lock the external file (link) path so that it does not ch Setagaya Japan Excel Discussion (Misc queries) 0 February 9th 09 05:47 AM
How can I link external file cell formats? Peter Excel Worksheet Functions 0 June 27th 06 04:53 PM
External file link superkopite Excel Discussion (Misc queries) 6 April 25th 06 01:16 AM
Find a link to an external file Tadashii Excel Discussion (Misc queries) 2 June 1st 05 10:15 AM


All times are GMT +1. The time now is 02:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"