Hey All,
I am new to VBA and would really appreciate some help with a macro to carry out the following activity for me.
Please refer to the attached sample data for clarity.
1. I need the macro to copy the data in the worksheet" Test1" to another worksheet based on date.(column A)
2. If the data is above the year 2010, then copy that entire row to new worksheet and if its below or equal to the year 2010, then copy it to another worksheet.
The header remains same for all worksheets. If possible I would like the new worksheet with 2011 data to be named "2011" and worksheet with 2010 and below data , named as "2010"
3. If i want to create a PIVOT out of each of the two new sheets taking only the 1,2 and 4th row.. is that possible?
Thanks a lot for your help.
Bookmarks