Results 1 to 12 of 12

Copy data based on on specific header "name"

Threaded View

  1. #1
    Registered User
    Join Date
    09-09-2013
    Location
    MAL
    MS-Off Ver
    Excel 2007
    Posts
    22

    Copy data based on on specific header "name"

    Hi,
    I’m using Excel 2007 and I have 2 files, source.xlsx and destination.xls. I have attached the sample files here.

    I’m only interested in only a couple columns of data in “Working” worksheet in source.xls file. They are under the header “Part Number”, “In”, and “Category”. There are other columns in between these 3. However the number of column in this source file is not always the same. For example, the file this week may have only 2 random columns in between “Part Number” and “In”. Next week, the number of random columns in between them maybe 10. So it’s important for me to identify the data by the exact column header name.

    I want to copy all data under header “Part Number”, “In”, and “Category” in source.xlsx, and then paste them to destination.xls (to be saved as Excel 97-2003 workbook). In “destination.xls”, the data should go to the row (insert new row) under the header “*Item Name”, “Qty Count”, and “Cat”. Also, under the header “New Name”, it will take the value from “*Item Name” then append a string “-NEW” to it.

    Does anyone here know how to do this with vba code?
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] :confused: Auto pick "specific data" and put it in "specific cells" with date
    By pipsmultan in forum Excel Formulas & Functions
    Replies: 29
    Last Post: 08-27-2014, 03:31 AM
  2. [SOLVED] Code that copies row of data to another sheet based on text "Complete"/"Delete"
    By Dremzy in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 04-20-2014, 05:51 PM
  3. Copy data from multiples sheets to specific cells in "summary"
    By sweetboy02125 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-17-2010, 10:05 AM
  4. Replies: 0
    Last Post: 07-17-2006, 09:45 AM
  5. Copy a specific of data of texts containing "IT"
    By new_to_vba in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-08-2006, 04:00 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