I haven't tested this, but I do not think it should be 2. Should be 0 Regards,
Sam On Mon, Oct 10, 2011 at 9:07 PM, Mahen <m.luxi...@gmail.com> wrote: > Workbooks.Open Filename:= _ > pt & "\" & rb.Offset(0, -1).Value, _ > Origin:=xlWindows, UpdateLinks:=2 > > With the above in a loop, a series of workbooks are open from path pt > with workbook names from the variable rb.offset(0,-1).value for > reading data from them and these workbooks have links to other > workbooks. The update links:=2 is intended to tell Excel not to update > the links. However, vba still pauses with the following prompt: > > <<This workbook contains one or more links that cannot be updated. > - To change the source of links, or attempt to update values again, > click Edit Links > - To leave the links as is, click Continue > >> > > How can this pause be avoided? > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- Sam Mathai Chacko -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel