PC Review


Reply
Thread Tools Rate Thread

Avoid Startup Prompt on Excel 2002

 
 
Nader
Guest
Posts: n/a
 
      24th Aug 2007
Hello,

On excel worksheet I've got many links to other files and everytime I open
my file I get a msgbox asking to wheter I want to update or not. Is it
possible to avoid that message thru vba (I know that If I go to
Edit->Links->Startup Prompt I can remove this message) ?

Thanks in advance.

Cheers

Nader


 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      24th Aug 2007
You can certainly make that setting using VBA.

ActiveWorkbook.UpdateLinks = xlUpdateLinksNever
or pick the specific value you want.

However, it will not affect the file that contains the code (except in
versions earlier than xl2003, it will probably produce an error). The prompt
is performed before any macros are run. This is true for any other link
related setting as well.

This is a setting specific to and stored with the workbook although it was
introduced in xl2003, so it would have no affect in earlier versions as
appears to be your problem.

In earlier versions than xl2003, the usual suggestion is to have two
workbooks. the User opens the "dummy" workbook which uses code to open the
actual workbook with the command specified to handle links as you want, then
closes itself.

--
Regards,
Tom Ogilvy


"Nader" wrote:

> Hello,
>
> On excel worksheet I've got many links to other files and everytime I open
> my file I get a msgbox asking to wheter I want to update or not. Is it
> possible to avoid that message thru vba (I know that If I go to
> Edit->Links->Startup Prompt I can remove this message) ?
>
> Thanks in advance.
>
> Cheers
>
> Nader
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
AVOID PASSWORD PROMPT ON STARTUP FARAZ QURESHI Microsoft Outlook Discussion 1 23rd Jul 2008 07:44 AM
Excel 2002: How to avoid pasting blanks ? =?Utf-8?B?TXIuIExvdw==?= Microsoft Excel Misc 3 15th Sep 2007 02:17 AM
Excel 2002 : How to avoid pasting incremental refrences ? =?Utf-8?B?TXIuIExvdw==?= Microsoft Excel Misc 3 4th Aug 2007 03:46 PM
How to avoid "update links" startup prompt? joeu2004@hotmail.com Microsoft Excel Misc 8 23rd Jul 2006 04:20 AM
excel startup macro prompt tgelphm Microsoft Excel Misc 1 16th Dec 2003 11:14 PM


Features
 

Advertising
 

Newsgroups
 


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