Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings !
I have this: Private Sub Workbook_Open() Application.AskToUpdateLinks = False ....and yet, when I open the file, I STILL get asked whether I want to "Continue" or to "Edit Links" How can I prevent this box from popping up? RClay AT haswell DOT com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
the prompt is run before any macro. So you would have to set this before
opening the workbook. If you do set it to false, it updates the link, it just doesn't ask. If you are using xl2002 or later, there is an uption under Edit=Links that allows you to control this. In earlier versions, if you don't want to be prompted and don't want to update the links, you need open a helper workbook that uses code to open the actual workbook. You can then use the updatelinks argument to suppress the link update workbooks.Open filename:=Actualworkbook.xls, updatelinks:=0 -- regards, Tom Ogilvy "Robin Clay" wrote in message ... Greetings ! I have this: Private Sub Workbook_Open() Application.AskToUpdateLinks = False ...and yet, when I open the file, I STILL get asked whether I want to "Continue" or to "Edit Links" How can I prevent this box from popping up? RClay AT haswell DOT com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
update links | Excel Discussion (Misc queries) | |||
Update links box gives Continue or Edit Links dialog | Excel Discussion (Misc queries) | |||
can't update links...can't find links | Excel Discussion (Misc queries) | |||
Why is it asking to update links? | Links and Linking in Excel | |||
Update links using VBA | Excel Programming |