+ Reply to Thread
Results 1 to 2 of 2

Copy/Paste Link dependant on name in different column

  1. #1
    Registered User
    Join Date
    01-31-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    2

    Copy/Paste Link dependant on name in different column

    I have 500+ rows in a single worksheet. I need to update every row with a new column (in the middle of all existing columns). Column A contains unique names. The new column needs to be a link to another workbook within the same folder. The names of the workbooks will match the name within column A. Rather than opening each workbook, and performing a copy -> paste special -> paste Link into each of the rows, or a Duplicate, and changing the name, is there a way to create a Macro/VBA code to do this? The link will be similar to this, with a different WorkBookName on each row.

    Please Login or Register  to view this content.
    The number of rows in my workbook can be added to and deleted as needed, but the files themselves will not be deleted out of the folder. Any suggestions would be great.

    Thank you in advanced. ~Amy

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,964

    Re: Copy/Paste Link dependant on name in different column

    Hi and welcome to the forum

    You would do this with the INDIRECT() function, but that only works on open wookbooks

    Try installing the Morefunc add-in, which allows INDIRECT() to be used on closed workbooks
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy and Paste Dependant on a Cell Value
    By cmec0040 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-12-2012, 11:45 PM
  2. [SOLVED] copy and paste certain rows dependant on Name
    By JJ Dimery in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-17-2012, 06:00 AM
  3. [SOLVED] copy and paste links from another sheet dependant on cell reference
    By nicko54 in forum Excel General
    Replies: 3
    Last Post: 06-28-2012, 02:57 AM
  4. Link to cell in different sheet - trigger copy/paste transposed row into column
    By janethenoob in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2011, 01:42 PM
  5. Copy & paste dependant on month
    By MJK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-03-2008, 04:54 AM

Tags for this Thread

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