View Single Post
  #2   Report Post  
tony h
 
Posts: n/a
Default


I have done this befoe a few years ago but I haven't got the code on
me.

If I remember correctly you can't change the links with code from
within the spreadsheets you have to do it from another workbook. This I
guess is an advantage in your case as you could create some code to find
and open all spreadsheets and check for links.

Open the workbook you want to change (without running any of the auto
routines) then you can change the links. I think you can do this using
the Excel collections (ie I don't think you need APIs).

We needed to do it to reasses (and reset) the links based on whether
the user was a developer, tester or end user.

Sorry for the lack of detail. If you dont get a more complete reply I
will look it when next I am home.

Hope it helps, regards


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=392464