Hello Dear Excel Expert!
I got an vba code that does the followings
Loop through all worksheets in a workbook.
Copy Data in Sheet(1) By Matching Column Headers.
Here is the code
Background!Please Login or Register to view this content.
The data file that I got from databases administrator, is in MS EXCEL 2003 version.
The data is big in term of rows and columns so due to the number of columns limitation in Excel 2003.
Data with same Unique IDs are organized in next worksheets with the helper column "responseID" i.e. Column A in all worsheets.
For example;
If worksheet (1) has the data of ID "5" and it exceeds the number of column limitation (MS 2003) then its further data are placed to worksheets (2) if it still exceeds the column limitation then the data is placed to worksheet (3) and so on and it may goes from 1 to 50 worsheet(s)....but each worksheet has the uniqueID identifier in Column A i.e."responseID".
Process
What I do when i receive the file from database administrator,
I create new MS EXCEL WORKBOOK,as we work with MS EXCEL 2010 version (as there are extended number of columns 16384 I think, as compared to MS EXCEL 2003 that has only 255 Columns).
I copied all worksheets data into one worksheet by matching columns in it .Hectic Job!!!!
(I receive the file on daily basis with records ("ID") addition / deletion). This is another long process because as we receive any file, we start working on the data of this file, so newly received file will not have the changes incorporated that has been made to previous file......I dont want to describe this process here....I am working on this too in order to automate this section through any feasible way out...)
Goal
The above macro is not serving my purpose when it goes to next worksheets, it does not match the ID and place the data to its relevant row by matching ID,it only matching the column.
Do you people have any idea how this can be achieved!
Would be grateful to you people.
Blessings
Thank you!
Bookmarks