Question : Copy/Paste with criteria

Hi there,

If anyone can assist it would be greatly appreciated.

I'm trying to get the information from sheet 1 split into either TempReport or PermReport based on the criteria in column E which is the word Temp. If the word TEMP is found in column E than it needs to copy the appropriate row of data to the worksheet TEMPREPORT. The difficulty is that its not a straight copy and paste. Sheet 1 has information not required by TEMPREPORT and its also not in the exact order. Additionally a concatenation is also required for first name and last name so it can be placed in one field etc.

Secondly tHe rest of the data goes to PERMREPORT where column E does not have the word TEMP. Again, it is not a straight copy and paste as sheet 1 has information not required by PERMREPORT and its also not in the exact same order etc.

I have provided a sample of dummy data to explain what I am after and highlighted the results for which it should look like once the macro is working. hopefully this will help. I can only imagine how hard it is trying to make out everyones scenarios so to assist with code.

I am extremely thankful for any prompt assistance as I am a newbie and I have spent the last 3 days trying to work this out.
Attachments:
 
Sample file Attached
 

Answer : Copy/Paste with criteria

Here is the file with the macro in it. I didn't know where you got the AU1 from, though.
Random Solutions  
 
programming4us programming4us