+ Reply to Thread
Results 1 to 3 of 3

Macro to change any linked external workbooks to active workbook regardless of drive/path?

  1. #1
    Registered User
    Join Date
    02-12-2011
    Location
    USA
    MS-Off Ver
    Excel 2013 / office 365
    Posts
    30

    Macro to change any linked external workbooks to active workbook regardless of drive/path?

    I need a macro that does the function below, but does not reference specific file names, paths, or drive letters. It will need to change links to all external workbooks to the active workbook.

    Please Login or Register  to view this content.
    I thought that the NewName could reference ActiveWorkbook, but I have no idea how to go about changing the link name if I'm not referencing the specific currently linked file by name.

    Any help would be greatly appreciated!

  2. #2
    Forum Contributor
    Join Date
    05-25-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    194

    Re: Macro to change any linked external workbooks to active workbook regardless of drive/p

    I'm a little confused what you exactly want done here? You have links to X amount of other workbooks in a workbook, and you want those links to be updated to the active workbook?

  3. #3
    Registered User
    Join Date
    02-12-2011
    Location
    USA
    MS-Off Ver
    Excel 2013 / office 365
    Posts
    30

    Re: Macro to change any linked external workbooks to active workbook regardless of drive/p

    Quote Originally Posted by Medpack View Post
    I'm a little confused what you exactly want done here? You have links to X amount of other workbooks in a workbook, and you want those links to be updated to the active workbook?
    Yes exactly. I have about 50 named ranges used to populate drop down boxes throughout the workbook. A single page containing dynamic arrays is used to organize input data for named ranges. Since a few worksheets are copied and modified for different projects, the named ranges link back to the original workbooks, rather than the current workbook.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1