Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Update links automatically


Could somebody please tell me what code i need to write into a macro t
remove the pop up box asking you to update links when opening a file??
I want this to be automated and not for my end user to have to click th
update button.

Thanks in advance, enjoy your weekends, thank goodness it is friday!!

--
PaulOakle
-----------------------------------------------------------------------
PaulOakley's Profile: http://www.excelforum.com/member.php...fo&userid=2510
View this thread: http://www.excelforum.com/showthread.php?threadid=39122

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Update links automatically



--
Hi Paul,

Set the UpddateLinks property of the Open method to True, e,g,:

Workbooks.Open "Book1.xls", UpdateLinks:=True


---
Regards,
Norman



"PaulOakley" wrote
in message ...

Could somebody please tell me what code i need to write into a macro to
remove the pop up box asking you to update links when opening a file???
I want this to be automated and not for my end user to have to click the
update button.

Thanks in advance, enjoy your weekends, thank goodness it is friday!!!


--
PaulOakley
------------------------------------------------------------------------
PaulOakley's Profile:
http://www.excelforum.com/member.php...o&userid=25103
View this thread: http://www.excelforum.com/showthread...hreadid=391227



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Update links automatically


Good morning PaulOakley

You can turn off the box from within Excels options (Tools Options
Edit, Ask to update automatic links). Unfortunately this is an Exce
setting rather than a workbook setting, so is not saved with you
workbook. To access this setting via VBA you would use the command:

Application.AskToUpdateLinks = False

But then you would get the dialog box asking if you want to run macros
so to get a dialog free file opening you really need to change th
setting in the Options.

Have a nice weekend!

HTH

Dominic

--
dominic
-----------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...fo&userid=1893
View this thread: http://www.excelforum.com/showthread.php?threadid=39122

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
Update Files Automatically with Links Chris Excel Discussion (Misc queries) 1 November 4th 09 06:25 PM
automatically update links to add-ins BigJimmer Links and Linking in Excel 3 August 27th 09 05:40 PM
UPDATE LINKS AUTOMATICALLY Navya Excel Discussion (Misc queries) 0 June 24th 09 04:14 PM
Links update automatically Lp12 Excel Discussion (Misc queries) 0 July 14th 05 11:30 AM
Update Links automatically using VBA ? Sander Lablans Excel Programming 0 August 1st 03 10:28 AM


All times are GMT +1. The time now is 08:35 PM.

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

About Us

"It's about Microsoft Excel"