Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Avoid "...contains one or more links that cannot be updated" message.

I use Excel2002 & I use code to sequentially open, refresh, save &
close 30 files from a master Excel file. On opening each file the
message appears "This workbook contains one or more links that cannot
be updated." I have a choice of buttons 'Continue' or 'Edit Links'.
The links are ok so I want to avoid this message.

Thankyou in advance :-)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 473
Default Avoid "...contains one or more links that cannot be updated" message.

Craig wrote:
On opening each file the
message appears "This workbook contains one or more links that cannot
be updated." I have a choice of buttons 'Continue' or 'Edit Links'.
The links are ok so I want to avoid this message.


Try
Application.DisplayAlerts = False
Workbooks.Open TheFileName, UpdateLinks:=0
Application.DisplayAlerts = True

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup

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
how can I avoid "server busy" message during ole automation Stefan Excel Discussion (Misc queries) 0 April 17th 07 11:16 AM
#VALUE! show up on "non-updated" links to another sheet Absolute0 Excel Discussion (Misc queries) 1 February 1st 07 01:00 AM
Avoid "update Links" promt in e-mailed pivot tables? Michelle B Excel Discussion (Misc queries) 2 October 23rd 06 02:54 PM
How to avoid "update links" startup prompt? [email protected] Excel Discussion (Misc queries) 8 July 23rd 06 04:20 AM
How to avoid "large data on clipboard" message? keith Excel Programming 4 September 25th 03 08:44 PM


All times are GMT +1. The time now is 11:14 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"