Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Change path links in Excel from VBA

How can I change from VBA the paths for the books and sheets referred in the
Edit Links Box?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Change path links in Excel from VBA

ActiveWorkbook.ChangeLink

ActiveWorkbook.ChangeLink "c:\excel\book1.xls", _
"c:\excel\book2.xls", xlExcelLinks

--
Regards,
Tom Ogilvy



"Ricardo García" wrote in message
...
How can I change from VBA the paths for the books and sheets referred in

the
Edit Links Box?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Change path links in Excel from VBA

It's OK, Tom. Thanks

"Tom Ogilvy" wrote:

ActiveWorkbook.ChangeLink

ActiveWorkbook.ChangeLink "c:\excel\book1.xls", _
"c:\excel\book2.xls", xlExcelLinks

--
Regards,
Tom Ogilvy



"Ricardo GarcÃ*a" wrote in message
...
How can I change from VBA the paths for the books and sheets referred in

the
Edit Links Box?





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to prevent excel to change hyperlink path towards external fil Danko Jotanovic Excel Discussion (Misc queries) 3 October 6th 09 01:40 PM
change backup path in excel 2007 MGB New Users to Excel 0 April 21st 08 09:05 AM
Links - duplicate path tmp Excel Discussion (Misc queries) 0 August 25th 06 02:08 AM
How can I get Excel to automatically change file path links? iupsk Excel Discussion (Misc queries) 1 August 1st 06 07:46 PM
how to change absolute path to relative path hwijgerse Excel Worksheet Functions 0 November 25th 05 07:18 AM


All times are GMT +1. The time now is 04:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"