Results 1 to 6 of 6

Copy multiple column and paste in the template based on column headers VBA

Threaded View

  1. #1
    Registered User
    Join Date
    03-17-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    64

    Copy multiple column and paste in the template based on column headers VBA

    Hi All,

    I am a beginner in VBA and I need your assistance in fixing an issue. I have an excel template where I need to save all the data from multiple excel files which are stored in a folder. Both the files (Excel template and source files) have same headers and I need to copy only specific headers based on input.

    I need to copy only the below headers as there might be an additional headers in the source files. The sheet name in the merge template is named as Results and even the source file has the sheet named Results from which I need to pull the data. Some times this sheet might be hiden and it wont be visible. So, everytime when the source file is opened, the sheet gets unhiden and then copy only the below headers and paste in the excel template. There might be multiple files in the folder.

    Date Yes/No Doc Number Our Number Lot # Sup.Mat # ID Sup # Sup Name Desc Code Group Desc In Processing

    Source file name is "File0918". There will be a lot of files moved to folder with different names.

    Regards,

    Rakul
    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] Copy Paste Special Using Column Headers
    By phelbin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2016, 02:19 PM
  2. VBA Excel: Copy/Paste a column range to another sheet IF column headers match
    By hwatson86 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-07-2016, 08:05 AM
  3. Copy/Paste Columns from Multiple Worksheets based on Headers into new Worksheet
    By casper3043 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2015, 03:06 PM
  4. copy and paste columns based on column headers
    By patwary786 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-24-2015, 11:43 PM
  5. Copy multiple columns and paste into one column, based on row criteria
    By Miki1989 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-17-2015, 09:59 AM
  6. [SOLVED] Copy from one sheet to another based on column headers
    By in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-01-2014, 10:27 AM
  7. [SOLVED] Match, Copy and Paste Column Headers - varying number of columns
    By itcher in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-19-2013, 10:49 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