+ Reply to Thread
Results 1 to 7 of 7

Thread: Copy data from cells in one workbook to another based on the cell headings

  1. #1
    Registered User
    Join Date
    09-02-2008
    Location
    Santa Monica
    Posts
    5

    Copy data from cells in one workbook to another based on the cell headings

    I need to copy the data from one workbook into another. I would like to copy the data by identifying the column headers. I have several tabs of information in the source workbook but I only want one tab for the destination workbook. I do not want to copy everything over from the source workbook. What would be the best way to do this. I have worked with VBA but it has been years, I know there is a way to do this. ga

    Thanks in advance.

    Jamie

  2. #2
    Valued Forum Contributor
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2007
    Posts
    996

    Re: Copy data from cells in one workbook to another based on the cell headings

    Did you mean copy (physically copy/paste) or reference?

  3. #3
    Registered User
    Join Date
    09-02-2008
    Location
    Santa Monica
    Posts
    5

    Re: Copy data from cells in one workbook to another based on the cell headings

    I would like to copy the data.

  4. #4
    Forum Moderator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    4,332

    Re: Copy data from cells in one workbook to another based on the cell headings

    It will be better if you attach your sample workbook with a expected output sheet so we know which columns need to go to the destination file.
    Cheers,
    Arlette

    If I 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]

  5. #5
    Registered User
    Join Date
    09-02-2008
    Location
    Santa Monica
    Posts
    5

    Re: Copy data from cells in one workbook to another based on the cell headings

    Here is an example of what I need I need the content from the JAMA spreadsheet into the sample load form.
    Attached Files Attached Files

  6. #6
    Forum Moderator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    4,332

    Re: Copy data from cells in one workbook to another based on the cell headings

    There are several tabs of data in both files. So which tabs should be copied into which tabs of the destination file? You said you do not need all the data? So which columns should be copied?
    Cheers,
    Arlette

    If I 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]

  7. #7
    Registered User
    Join Date
    09-02-2008
    Location
    Santa Monica
    Posts
    5

    Re: Copy data from cells in one workbook to another based on the cell headings

    In the sample load form I need the Author field populated from the responder field in the Jama workbook, the comment field populated from the response field, the commentstatusid field populated from the status field. I need to parse the tab name of the source workbook to get the volume issue and page fields. I have a different workbook for each tab in the sample load form but I want all the tabs of the source workbook to be on the corresponding tab in the sample load form. I will run each source workbook separately. Thanks again for the help.

+ 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.2.0