+ Reply to Thread
Results 1 to 4 of 4

vba code to merge headers from 2 sheets at their specific columns position 3rd sheet

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    vba code to merge headers from 2 sheets at their specific columns position 3rd sheet

    I have a workbook with several sheets , my focus is only for two sheets tabs Invoice and Header Format

    vba to add a new sheet tab named consolidation data , copy specific headers and data to the required format in consolidation data sheet tab


    Invoice tabs has data in each column headers but it may sometimes that certain columns are blank in non contigious headers ,

    The header format sheet tab has only headers at row 1 with no data in the columns (always).

    Vba code to add new sheet named consolidation data tab. copy the headers in red from Invoice tab with data to last data row .

    then copy from header sheet tab the specific blue tab headers to consolidation (note there is no data in format header tab) in red tab

    The green tab sheet are for explanation purposes

    Data in invoice tab can reach the 10000 rows

    Thanks for any assistance
    Attached Files Attached Files
    Last edited by JEAN1972; 05-02-2017 at 03:18 PM.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: vba code to merge headers from 2 sheets at their specific columns position 3rd sheet

    Try the attached.
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: vba code to merge headers from 2 sheets at their specific columns position 3rd sheet

    Try
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: vba code to merge headers from 2 sheets at their specific columns position 3rd sheet

    Hi AB33 & Jindon

    Works as a charm ,thank you for help

+ 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. [SOLVED] Merge ranges from specific sheets by adding the sheet name as the first column
    By tabrizbalasi in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-24-2015, 01:38 PM
  2. Replies: 1
    Last Post: 10-24-2013, 01:05 PM
  3. [SOLVED] Merge specific sheets in a workbook into one summary sheet (by 'Author:Jerry Beaucaire)
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-02-2013, 09:38 AM
  4. Replies: 3
    Last Post: 04-29-2013, 05:19 AM
  5. Need to copy ranges from multiple sheets then paste to sheet under specific headers
    By the duke in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2013, 12:17 AM
  6. Copy non-sequential columns with headers (from multiple sheets) to one consolidated sheet
    By constantmallee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2012, 02:24 PM
  7. Add data columns and merge specific data sheets into master sheet
    By sshahils in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-15-2011, 10:50 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