+ Reply to Thread
Results 1 to 4 of 4

Copy & paste specific column based on cell reference

  1. #1
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    Copy & paste specific column based on cell reference

    I found a code for that problem but it's not working me beacuse i got a "type mismatch error" to line

    Please Login or Register  to view this content.
    I would like to ask for your expert's report to modify the under codes to run properly.

    The task is: Cell S2 is a reference cell.
    Need to copy the range S3:S101 to the proper column from row nr. 3 where G2:R2 meets the value of S2.

    in the sample file S2 value is "2011.10". this value has to be found in range G2:R2. Identify the column nr. (in this case column P) and copy and paste only values from range S3:S101 to range P3:P101.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by ccsmith; 10-26-2011 at 04:00 AM.

  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 & paste specific column based on cell reference

    Use this -
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Copy & paste specific column based on cell reference

    hi, ccsmith, different approach, run code "test"
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: Copy & paste specific column based on cell reference

    arlu1201: Many thanks. You are great. It is working.

+ 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