+ Reply to Thread
Results 1 to 2 of 2

Copy a specific range from one workbook to another

  1. #1
    Forum Contributor
    Join Date
    12-07-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2021
    Posts
    126

    Copy a specific range from one workbook to another

    Hi, who can help me with this?

    I need to copy specific cells in a table from one workbook into another.
    Both workbooks have the same table, but the rows are not necessary in the same order and I have to make sure the right cells are copied.

    I have attached an example with 2 tables. In real life there are 2 independent workbooks and a larger number of rows.

    I need to copy each ConnectionString value from column D, where the TableName value from column C is the same in both workbooks.
    So in the example D3 would have to copy to D9, D4 to D8 and D5 to D10.

    I cannot change the order of the columns, so I do not think I can use Vlookup.
    How would I do this ?

    Thanks in advance for helping me out here...
    Arnold
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy a specific range from one workbook to another

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. [SOLVED] Copy Data from Range on Specific Worksheet and Transfer Data to New Workbook
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-22-2013, 08:24 AM
  2. Copy from Extract in one workbook to specific cell range in other
    By Michelle Deigh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-20-2013, 09:07 AM
  3. Copy and paste specific range to date specific range in alternate sheet
    By alanalmarza in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 08:29 AM
  4. Copy specific cell(s) or named range from one workbook to another
    By gcoug in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2012, 06:01 PM
  5. Copy range from one workbook to other in specific cells?
    By fcb1900 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2010, 08:38 AM

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