Hi Excel Master,
Every month, I'm require to generate a report. I export the data from a source, put in my excel file and have to arrange the column to meet my layout . My report has a fix layout whereby the column header is fixed (e.g A1 - Name, B1 - Address, etc). The source header text is the same as my layout header text but the arrangement is not (e.g A1 - Address, B1 - Name, etc).
Is there an macro that can help to based on my fixed layout header text (say in Sheet1) copy the data from the source (say in Sheet 2). My source has a lot data header. The macro mechanics that I am thinking is if header text in Sheet1 (my fixed layout) match header text in Sheet 2 (source), copy all the data in the column of the header in Sheet2 and paste to the column in Sheet1.
Every month, I'm require to generate a report. I export the data from a source, put in my excel file and have to arrange the column to meet my layout . My report has a fix layout whereby the column header is fixed (e.g A1 - Name, B1 - Address, etc). The source header text is the same as my layout header text but the arrangement is not (e.g A1 - Address, B1 - Name, etc).
Is there an macro that can help to based on my fixed layout header text (say in Sheet1) copy the data from the source (say in Sheet 2). My source has a lot data header. The macro mechanics that I am thinking is if header text in Sheet1 (my fixed layout) match header text in Sheet 2 (source), copy all the data in the column of the header in Sheet2 and paste to the column in Sheet1.