Hi all,
I am trying to create a macro to cycle through four worksheets and, if a date in a column is within a specified range, copy various cells in that record and paste them in another sheet in different workbook. For example, if column K >= 01-Jan-2012 and <= 31-Mar-2012, copy columns A, F, G, P, T and W and paste them in columns A, F, D, B, E and C of the other specified sheet.
The four sheets are named in a ABC2011, XYZ2011, ABC2012 and XYZ2012. Each year, two the names end with the previous year and the other two end with the current year.
I have not been able to activate the sheet (using strings to identify it).
Here is my code, so far:
Can someone help me fix it, please?Please Login or Register to view this content.
Thank you,
Gos-C
Bookmarks