Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Disable a Specific Message Box

Saved from a similar question:

You can toggle the setting (user by user, though) via:

Tools|Options|Edit Tab.
There's a checkmark for "ask to update automatic links"

But this means that you suppress the question--the links still get updated.

This setting is for the individual user--and affects all their workbooks.

If you want more control:
Try creating a dummy workbook whose only purpose is to open the original
workbook with links updated:

Kind of like:

Option Explicit
Sub auto_open()
Workbooks.Open Filename:="c:\my documents\excel\book2.xls", UpdateLinks:=1
ThisWorkbook.Close savechanges:=False
End Sub

Then you open the dummy workbook and the links will be refreshed.
(read about that UpdateLinks argument in VBA's help.)

" wrote:

A workbook of mine, Workbook1, links to another workbook, Workbook2,
that is stored elsewhere. Whenever I open Workbook1, I always get the
following message box:

This workbook contains links to other data sources
If you update the links, Excel attempts to retrieve the latest data.
If you do not update the links, Excel uses the previous information.
Update Button Don't Update Button Help Button

I don't want this message box to appear when Workbook1 is opened. Is
there a way to disable this message for Workbook1, so that anyone who
uses Workbook1 (or a copy of Workbook1) will not have to respond to the

prompt? Can it be done using excel built-in features? If not, can it be

done using vba code?

Thanks for your time and consideration folks.

Michael


--

Dave Peterson
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
disable spell check pop-up message Greg Excel Programming 3 February 15th 05 04:11 PM
Disable Message Prompt in VBA ltong Excel Programming 6 October 3rd 04 11:41 AM
enable disable macro message Lisa Fischer Excel Programming 4 May 21st 04 10:27 PM
disable Warning Message larry Excel Programming 1 April 7th 04 10:36 PM
disable pivottable refresh message andrewCH Excel Programming 0 November 12th 03 10:29 AM


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

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"