![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Dog Beach, Florida. Yeaahh!
Posts: 4,038
|
Another annoying message box that pops up when I open my summary Workbook is "The Workbook you opened contains automatic links to info in another Workbook, etc, etc....Update (Yes) or (No).
Is there code to click "Yes"? The line of code to open the subsid. w/b is "Workbook.Open Filename:="G......filename.xls", Password:="elf" Do I use (True) somewhere? |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Winnipeg
Posts: 2,330
|
Quote:
Regards,
__________________
Barrie Davidson "You're only given a little spark of madness. You mustn't lose it." - Robin Williams |
|
|
|
|
|
|
#3 | |
|
Join Date: Feb 2002
Posts: 12
|
Quote:
You can disable this message box for all files by going to Tools>Options>Edit and un-checking AskToUpdateAutomaticLists. Or if you want to disable it only before your macro opens your susid. w/b and enable it immediately thereafter, put this in your macro :- Application.AskToUpdateLinks = False Workbook.Open Filename:="G......filename.xls", Password:="elf" Application.AskToUpdateLinks = True |
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Winnipeg
Posts: 2,330
|
Quote:
A note for Barry Katcher - this will eliminate that annoying message box, but the links will be updated without notifying the user. So....if your links are no good you will have problems. Regards,
__________________
Barrie Davidson "You're only given a little spark of madness. You mustn't lose it." - Robin Williams |
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Dog Beach, Florida. Yeaahh!
Posts: 4,038
|
Escalus, thanx a lot, worked perfectly.
Barrie, must be the Canadian spelling. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|