+ Reply to Thread
Results 1 to 5 of 5

As Per Heading copy data from Input to Output Workbook

  1. #1
    Forum Contributor
    Join Date
    12-27-2008
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    235

    As Per Heading copy data from Input to Output Workbook

    Dear Friends,

    I have two workbooks, name Input and Output. Input workbook having worksheet “Heading Input”, which first row having several headings and data below headings. I want in output workbook in tab “Collected Data” copy data as per heading. Copy condition, without heading first row to last row for that column. Heading may not identical as word to word/or space so pls use trim function in VBA while looping.

    Expected VBA code, which consist wide range of heading from Input sheet. (column A to BM). It is sure heading names in input file unique and written in first row of file. Same for Output file, fix place but sequence may change of data requires.
    Just for easy way, I have attached dummy sheets, pls respond for my help!

    RL


    Input WB.xlsxOutput WB.xlsx

  2. #2
    Forum Contributor
    Join Date
    12-27-2008
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    235

    Re: As Per Heading copy data from Input to Output Workbook

    Anyone respond pls?

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: As Per Heading copy data from Input to Output Workbook

    I couldn't get this to work with the merged cells in Rows 1 and 2 on your Output WB. However, it did once I unmerged the cells. Hope that helps.

    Please Login or Register  to view this content.
    Last edited by JOHN H. DAVIS; 08-08-2014 at 10:58 AM.

  4. #4
    Forum Contributor
    Join Date
    12-27-2008
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    235

    Re: As Per Heading copy data from Input to Output Workbook

    This work Great!
    Many Many Thanks

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: As Per Heading copy data from Input to Output Workbook

    You're welcome. Glad to help out and thanks for the feedback.

+ 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. Macro to input value, copy output, paste it to another sheet
    By Settler7 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2013, 10:08 PM
  2. Replies: 3
    Last Post: 05-29-2013, 12:43 PM
  3. Replies: 6
    Last Post: 01-29-2013, 07:01 AM
  4. [SOLVED] Search for heading in data sheet and copy range to corresponding sheet in master workbook
    By sans in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-07-2012, 10:02 AM
  5. Copy data from different files into 1 workbook under relevant column heading.
    By novice81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2009, 01:19 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