Hi Noorain Pls elaborate more.
1st Example --> I have file named "File1", which have too many external links to different excel files (File2, File3, File4 ....) through VLOOKUP. I want to write a VBA code in "File1" Open event, so that it can UPDATE all external links. 2nd Example --> I have file named "File1", which have too many external links to different excel files (File2, File3, File4 ....) through VLOOKUP. I want to write a VBA code in "File1" Open event, so that it CANNOT update any external links. Pls help me here in both cases Regards Amit On Wed, Jul 4, 2012 at 4:03 PM, NOORAIN ANSARI <noorain.ans...@gmail.com>wrote: > Dear Amit, > > Please use it..in Workbook_Open Event > > Private Sub Workbook_Open() > > Workbooks.Open FileNmae:="D:\VBA_Class\LinkedBook.xls", > UpdateLinks:=xlUpdateLinksAlways > End Sub > > > > On Wed, Jul 4, 2012 at 3:48 PM, Amit Gandhi <silkyro...@gmail.com> wrote: > >> Hi Experts >> >> Pls help me with VBA code for UPDATING External links in a excel file >> whenever I open that file. >> >> Pls help me with VBA code to PREVENT excel to UPDATE External links in a >> excel file whenever I open that file. >> >> Regards >> >> Amit >> >> -- >> FORUM RULES (986+ members already BANNED for violation) >> >> 1) Use concise, accurate thread titles. Poor thread titles, like Please >> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice >> will not get quick attention or may not be answered. >> >> 2) Don't post a question in the thread of another member. >> >> 3) Don't post questions regarding breaking or bypassing any security >> measure. >> >> 4) Acknowledge the responses you receive, good or bad. >> >> 5) Cross-promotion of, or links to, forums competitive to this forum in >> signatures are prohibited. >> >> NOTE : Don't ever post personal or confidential data in a workbook. Forum >> owners and members are not responsible for any loss. >> >> >> ------------------------------------------------------------------------------------------------------ >> To post to this group, send email to excel-macros@googlegroups.com >> >> To unsubscribe, send a blank email to >> excel-macros+unsubscr...@googlegroups.com > > > > > -- > Thanks & regards, > Noorain Ansari > www.noorainansari.com > www.excelmacroworld.blogspot.com > > > > > -- > FORUM RULES (986+ members already BANNED for violation) > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > will not get quick attention or may not be answered. > > 2) Don't post a question in the thread of another member. > > 3) Don't post questions regarding breaking or bypassing any security > measure. > > 4) Acknowledge the responses you receive, good or bad. > > 5) Cross-promotion of, or links to, forums competitive to this forum in > signatures are prohibited. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > > > ------------------------------------------------------------------------------------------------------ > To post to this group, send email to excel-macros@googlegroups.com > > To unsubscribe, send a blank email to > excel-macros+unsubscr...@googlegroups.com > -- 'Expecting the world to treat u fairly coz u r a good person is like expecting the lion not to attack u coz u r a vegetarian. Think about it.' Take care Amit -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com