5 pts.
 VBA Copy and Paste using dates
I have a spreadsheet that I am compiling for completed work orders. The sheet I want to copy the information from is called "Completed". In column H, I have the date each work order was completed and the dates are formated mm/dd/yyyy. I would like to have a code that will copy the work orders that are completed in January to the sheet named "January" but I need to make sure the original row stays on the Completed tab. And the same for each month after that. So in the end I will have a sheet for each months completed workorders. Is this possible and if so is it possible to do this with one code or will I have to have a code for each month?

Software/Hardware used:
Microsoft Excel 2003
ASKED: Jan 24, 2012  6:23 PM GMT
UPDATED: March 7, 2012  12:07:37 PM GMT

Answer Wiki:
I would suggest starting with writing some pseudocode that lists what you want to do. Something like:

For each row in column H:
Find the date
Work out the month from that date
Retrieve the target sheet name (based on month)
Fnd last row on target sheet
Copy current row
Paste into target sheet last row
Next row

From there you can develop the syntax and run some tests to ensure it works!

I also run a website that gives tips to people on how to become better IT professionals - http://www.CompleteITProfessional.com.
Last Wiki Answer Submitted:  Mar 7, 2012  12:07 AM (GMT)  by  CompleteITProfessional   265 pts.
Latest Answer Wiki Contributors:  MTidmarsh   150 pts., Prettyshina   1,330 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _