+ Reply to Thread
Results 1 to 3 of 3

Copy Data from a Column and Paste Value to a data table

  1. #1
    Registered User
    Join Date
    10-23-2012
    Location
    Durban, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    4

    Copy Data from a Column and Paste Value to a data table

    Hi There,
    Can someone please help me with this, - I have found several similar queries, but cannot seem to adapt to my needs.

    I have a 2 column range that I import data from a report. The first column contains codes, and the second column contains values.

    I then have a helper range, that has a complete list of all codes ( the imported list will not be complete), and I have a Vlookup formula to fill in from the imported list.

    I then want to copy this complete list to a data table.

    I can make it copy as a straight copy paste, but cannot make it paste Values, - I need to do this to get rid of the formulas.

    Below is the code that I have, - the data that I import has spaces in the code, so I have put in a routine to remove the spaces so the Vlookup works,

    Many thanks in advance.....



    Please Login or Register  to view this content.
    Moderator's Edit: Use code tags when posting code. To do so in future, select your code and click on the # icon at the top of the post window.
    Last edited by arlu1201; 12-05-2012 at 09:46 AM.

  2. #2
    Registered User
    Join Date
    10-23-2012
    Location
    Durban, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Copy Data from a Column and Paste Value to a data table

    Thanks Arlu - will do so in future
    I have solved my problem by adding the line of code below

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: Copy Data from a Column and Paste Value to a data table

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
    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)

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