Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable Macro Alert | Excel Discussion (Misc queries) | |||
Disable alert message when merging cells?? | Excel Programming | |||
How to disable 'Update alert' when open a spreadsheet has link to other XLS | Excel Programming | |||
How to disable 'Update alert' when open a spreadsheet has link to other XLS | Excel Programming | |||
How to disable 'Update alert' when open a spreadsheet has link to other XLS | Excel Programming |