Re: $$Excel-Macros$$ VBA code for Updating External links in excel

2012-07-06 Thread Dhartikumar Sahu
Dear Amit

Please write a code in your workbook open event

on error resume next
ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources,
Type:=xlExcelLinks

Dhartikumar Sahu



On Fri, Jul 6, 2012 at 2:21 PM, Amit Gandhi  wrote:

> Hi Noorain
>
> I think you haven't understood what I want. You are giving me code to
> UPDATE LINKS in other files. But I need something different. I am sitting
> in File1 and I want code to update links of File1 itself.
>
>  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.
>
> I will wait for your reply.
>
> Regards
>
> Amit
>
>
>
> On Thu, Jul 5, 2012 at 11:42 AM, NOORAIN ANSARI 
> wrote:
>
>> Dear Amit,
>>
>> We have to write code for each file in Workbook_Open Event like..
>>
>> Private Sub Workbook_Open()
>>
>> 'For File1
>>
>> Workbooks.Open FileNmae:="D:\VBA_Class\File1.xls",
>> UpdateLinks:=xlUpdateLinksAlways
>>
>>
>> 'For File2
>>
>> Workbooks.Open FileNmae:="D:\VBA_Class\File2.xls",
>> UpdateLinks:=xlUpdateLinksAlways
>>
>>  'For File3
>>
>> Workbooks.Open FileNmae:="D:\VBA_Class\File3.xls",
>> UpdateLinks:=xlUpdateLinksAlways
>>
>> End Sub
>>
>>
>>
>> On Wed, Jul 4, 2012 at 4:38 PM, Amit Gandhi  wrote:
>>
>>> 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 >> > 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 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.


 -

Re: $$Excel-Macros$$ VBA code for Updating External links in excel

2012-07-06 Thread Amit Gandhi
Hi Noorain

I think you haven't understood what I want. You are giving me code to
UPDATE LINKS in other files. But I need something different. I am sitting
in File1 and I want code to update links of File1 itself.

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.

I will wait for your reply.

Regards

Amit



On Thu, Jul 5, 2012 at 11:42 AM, NOORAIN ANSARI wrote:

> Dear Amit,
>
> We have to write code for each file in Workbook_Open Event like..
>
> Private Sub Workbook_Open()
>
> 'For File1
>
> Workbooks.Open FileNmae:="D:\VBA_Class\File1.xls",
> UpdateLinks:=xlUpdateLinksAlways
>
>
> 'For File2
>
> Workbooks.Open FileNmae:="D:\VBA_Class\File2.xls",
> UpdateLinks:=xlUpdateLinksAlways
>
> 'For File3
>
> Workbooks.Open FileNmae:="D:\VBA_Class\File3.xls",
> UpdateLinks:=xlUpdateLinksAlways
>
> End Sub
>
>
>
> On Wed, Jul 4, 2012 at 4:38 PM, Amit Gandhi  wrote:
>
>> 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 
>> 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 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
>>
>> --

Re: $$Excel-Macros$$ VBA code for Updating External links in excel

2012-07-04 Thread NOORAIN ANSARI
Dear Amit,

We have to write code for each file in Workbook_Open Event like..

Private Sub Workbook_Open()

'For File1

Workbooks.Open FileNmae:="D:\VBA_Class\File1.xls",
UpdateLinks:=xlUpdateLinksAlways


'For File2

Workbooks.Open FileNmae:="D:\VBA_Class\File2.xls",
UpdateLinks:=xlUpdateLinksAlways

'For File3

Workbooks.Open FileNmae:="D:\VBA_Class\File3.xls",
UpdateLinks:=xlUpdateLinksAlways

End Sub



On Wed, Jul 4, 2012 at 4:38 PM, Amit Gandhi  wrote:

> 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 
> 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  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
>




Re: $$Excel-Macros$$ VBA code for Updating External links in excel

2012-07-04 Thread Amit Gandhi
Hi Experts

I am waiting for your reply on below.

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:38 PM, Amit Gandhi  wrote:

> 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 
> 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  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
>



-- 
'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

Re: $$Excel-Macros$$ VBA code for Updating External links in excel

2012-07-04 Thread Amit Gandhi
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 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  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

Re: $$Excel-Macros$$ VBA code for Updating External links in excel

2012-07-04 Thread NOORAIN ANSARI
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  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

$$Excel-Macros$$ VBA code for Updating External links in excel

2012-07-04 Thread Amit Gandhi
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