Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Disable Link Alert

Excel XP & Win XP
In VBA, I'm opening up some 5 files that have links to each other as
well as to 2 already open files. The files open OK but I still get that
"This file has links....." query box even though I set the DisplayAlerts to
False. How do I disable that query? Thanks for your help. The code is:
Do While TheFile < ""
Application.DisplayAlerts = False
Workbooks.Open Filename:=MyPath & "\" & TheFile
TheFile = Dir
Application.DisplayAlerts = True
Loop


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Disable Link Alert

Oops. The 2 DisplayAlert lines should go outside of the Do loop. But this
doesn't stop the query so I still need help. Otto
Application.DisplayAlerts = False
Do While TheFile < ""
Workbooks.Open Filename:=MyPath & "\" & TheFile
TheFile = Dir
Loop
Application.DisplayAlerts = True
"Otto Moehrbach" wrote in message
...
Excel XP & Win XP
In VBA, I'm opening up some 5 files that have links to each other as
well as to 2 already open files. The files open OK but I still get that
"This file has links....." query box even though I set the DisplayAlerts
to False. How do I disable that query? Thanks for your help. The code
is:
Do While TheFile < ""
Application.DisplayAlerts = False
Workbooks.Open Filename:=MyPath & "\" & TheFile
TheFile = Dir
Application.DisplayAlerts = True
Loop



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 Macro Alert [email protected] Excel Discussion (Misc queries) 2 September 2nd 11 08:49 PM
Disable alert message when merging cells?? yung Excel Programming 1 March 10th 05 02:57 AM
How to disable 'Update alert' when open a spreadsheet has link to other XLS Chong Moua Excel Programming 0 July 9th 03 11:59 PM
How to disable 'Update alert' when open a spreadsheet has link to other XLS andres a Excel Programming 0 July 9th 03 11:26 PM
How to disable 'Update alert' when open a spreadsheet has link to other XLS Jose Rojas Excel Programming 0 July 9th 03 11:14 PM


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