Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change Excel Workbook link settings by VBA??

Status
Not open for further replies.

dannydanny

IS-IT--Management
Oct 9, 2002
109
DK
Hi,

I have an Excel Workbook A which has links to another Excel Workbook B. Usually I would go to Edit -> Link Settings to find information about the path / location of the source workbook B, but how can I find and/or change this information using VBA??

Thanks for any info in advance,
Danny
 
Have you tried the macro recorder ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Hi,

I tried the macro recorder and had a look at the code, but if I just go to Edit -> settings to look at the external link info, the macro records nothing because I really haven`t executed/issued any commands. I just need the link info......

Anyway, i played around with VBA, its the Application object`s LinkSources method which gives me want I wanted.
I just didn`t know how to use it before, since I was looking for an Application plink info property....

Thanks for your help anyway,
Danny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top