NewbietoVBA
New Member
- Joined
- Aug 24, 2011
- Messages
- 14
I know this error means I have too much in one Macro, but I keep getting other errors messing up when I try to split it into several macros and call each one in the main macro. I am VERY new at this, and I know my code is an absolute mess, but I am trying to just get this thing to run. Any and all help would be GREATLY appreciated. And I'm not up on all the lingo, so you may need to "laymanize" it for me.
Here is my code...... I know its extremely long. Any Ideas on how to break this up so that the Compile Error stops popping up?
Sub Macro2()
Sheets("Current_Detail").Select
Columns("G:Z").Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
[G1] = "Current Pos"
[H1] = "Beg Date"
[I1] = "2011 Rating"
[J1] = "2011 Rating Date"
[K1] = "Pos_2"
[L1] = "Beg Date"
[M1] = "2010 Rating"
[N1] = "2010 Rating Date"
[O1] = "Pos_3"
[P1] = "Beg Date"
[Q1] = "2009 Rating"
[R1] = "2009 Rating Date"
[S1] = "Pos_4"
[T1] = "Beg Date"
[U1] = "2008 Rating"
[V1] = "2008 Rating Date"
[W1] = "Pos_5"
[X1] = "Beg Date"
[Y1] = "2007 Rating"
[Z1] = "2007 Rating Date"
[AA1] = "Pos_6"
[AB1] = "Beg Date"
[AC1] = "2006 Rating"
[AD1] = "2006 Rating Date"
[AE1] = "Pos_7"
[AF1] = "Beg Date"
[AG1] = "2005 Rating"
[AH1] = "2005 Rating Date"
[AI1] = "Pos_8"
[AJ1] = "Beg Date"
[AK1] = "2004 Rating"
[AL1] = "2004 Rating Date"
[AM1] = "Pos_9"
[AN1] = "Beg Date"
[AO1] = "2003 Rating"
[AP1] = "2003 Rating Date"
[AQ1] = "Pos_10"
[AR1] = "Beg Date"
[AS1] = "2002 Rating"
[AT1] = "2002 Rating Date"
Dim lastrow As Long
lastrow = Cells(Rows.Count, 1).End(xlUp).Row
Sheets("CURRENT_DETAIL").Select
Columns("G:G").Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Range("G2").FormulaR1C1 = "=COUNTIF(JOB_HISTORY!C[-6],CURRENT_DETAIL!RC[-4])"
Range("G2").AutoFill Destination:=Range("G2:G" & lastrow)
Range("I:I,K:K,M:M,O:O,Q:Q,S:S,U:U,W:W,Y:Y,AA:AA").NumberFormat = "mm/dd/yy;@"
Dim i As Integer
For i = 2 To lastrow
Dim emp_id As String
emp_id = Sheets("Current_Detail").Range("C" & i)
If Sheets("Current_Detail").Range("G" & i) = 1 Then
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it:
End If
If Sheets("Current_Detail").Range("G" & i) = 2 Then
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it2
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it2:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it3
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it3:
End If
If Sheets("Current_Detail").Range("G" & i) = 3 Then
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it4
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it4:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it5
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it5:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it6
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it6:
End If
If Sheets("Current_Detail").Range("G" & i) = 4 Then
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it7
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it7:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it8
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it8:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it9
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it9:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it10
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it10:
End If
If Sheets("Current_Detail").Range("G" & i) = 5 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it11
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it11:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it12
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it12:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it13
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it13:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it14
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it14:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it15
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it15:
End If
If Sheets("Current_Detail").Range("G" & i) = 6 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it16
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it16:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it17
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it17:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it18
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it18:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it19
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it19:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it20
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it20:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AB" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AC" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it21
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AD" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AE" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it21:
End If
If Sheets("Current_Detail").Range("G" & i) = 7 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it22
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it22:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it23
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it23:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it24
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it24:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it25
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it25:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it26
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it26:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AB" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AC" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it27
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AD" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AE" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it27:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AF" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AG" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it28
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AH" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AI" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it28:
End If
If Sheets("Current_Detail").Range("G" & i) = 8 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it29
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it29:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it30
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it30:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it31
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it31:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it32
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it32:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it33
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it33:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AB" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AC" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it34
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AD" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AE" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it34:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AF" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AG" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it35
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AH" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AI" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it35:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AJ" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AK" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it36
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AL" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AM" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it36:
End If
If Sheets("Current_Detail").Range("G" & i) = 9 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it37
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it37:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it38
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it38:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it39
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it39:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it40
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it40:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it41
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it41:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AB" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AC" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it42
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AD" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AE" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it42:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AF" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AG" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it43
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AH" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AI" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it43:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AJ" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AK" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it44
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AL" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AM" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it44:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AN" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AO" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it45
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AP" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AQ" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it45:
End If
If Sheets("Current_Detail").Range("G" & i) = 10 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it46
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it46:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it47
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it47:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it48
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it48:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it49
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it49:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it50
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it50:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AB" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AC" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it51
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AD" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AE" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it51:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AF" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AG" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it52
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AH" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AI" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it52:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AJ" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AK" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it53
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AL" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AM" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it53:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AN" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AO" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it54
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AP" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AQ" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it54:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(9, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AR" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(9, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AS" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it55
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(9, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AT" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(9, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AU" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it55:
End If
Next i
Sheets("Current_Detail").Select
Cells.EntireColumn.AutoFit
[G1] = "# of Jobs"
Columns("V:W").Cut
Columns("Z:Z").Insert Shift:=xlToRight
Columns("R:S").Cut
Columns("X:X").Insert Shift:=xlToRight
Columns("N:O").Cut
Columns("V:V").Insert Shift:=xlToRight
Columns("J:K").Cut
Columns("T:T").Insert Shift:=xlToRight
End Sub
Here is my code...... I know its extremely long. Any Ideas on how to break this up so that the Compile Error stops popping up?
Sub Macro2()
Sheets("Current_Detail").Select
Columns("G:Z").Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
[G1] = "Current Pos"
[H1] = "Beg Date"
[I1] = "2011 Rating"
[J1] = "2011 Rating Date"
[K1] = "Pos_2"
[L1] = "Beg Date"
[M1] = "2010 Rating"
[N1] = "2010 Rating Date"
[O1] = "Pos_3"
[P1] = "Beg Date"
[Q1] = "2009 Rating"
[R1] = "2009 Rating Date"
[S1] = "Pos_4"
[T1] = "Beg Date"
[U1] = "2008 Rating"
[V1] = "2008 Rating Date"
[W1] = "Pos_5"
[X1] = "Beg Date"
[Y1] = "2007 Rating"
[Z1] = "2007 Rating Date"
[AA1] = "Pos_6"
[AB1] = "Beg Date"
[AC1] = "2006 Rating"
[AD1] = "2006 Rating Date"
[AE1] = "Pos_7"
[AF1] = "Beg Date"
[AG1] = "2005 Rating"
[AH1] = "2005 Rating Date"
[AI1] = "Pos_8"
[AJ1] = "Beg Date"
[AK1] = "2004 Rating"
[AL1] = "2004 Rating Date"
[AM1] = "Pos_9"
[AN1] = "Beg Date"
[AO1] = "2003 Rating"
[AP1] = "2003 Rating Date"
[AQ1] = "Pos_10"
[AR1] = "Beg Date"
[AS1] = "2002 Rating"
[AT1] = "2002 Rating Date"
Dim lastrow As Long
lastrow = Cells(Rows.Count, 1).End(xlUp).Row
Sheets("CURRENT_DETAIL").Select
Columns("G:G").Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Range("G2").FormulaR1C1 = "=COUNTIF(JOB_HISTORY!C[-6],CURRENT_DETAIL!RC[-4])"
Range("G2").AutoFill Destination:=Range("G2:G" & lastrow)
Range("I:I,K:K,M:M,O:O,Q:Q,S:S,U:U,W:W,Y:Y,AA:AA").NumberFormat = "mm/dd/yy;@"
Dim i As Integer
For i = 2 To lastrow
Dim emp_id As String
emp_id = Sheets("Current_Detail").Range("C" & i)
If Sheets("Current_Detail").Range("G" & i) = 1 Then
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it:
End If
If Sheets("Current_Detail").Range("G" & i) = 2 Then
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it2
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it2:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it3
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it3:
End If
If Sheets("Current_Detail").Range("G" & i) = 3 Then
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it4
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it4:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it5
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it5:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it6
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it6:
End If
If Sheets("Current_Detail").Range("G" & i) = 4 Then
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it7
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it7:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it8
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it8:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it9
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it9:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it10
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it10:
End If
If Sheets("Current_Detail").Range("G" & i) = 5 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it11
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it11:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it12
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it12:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it13
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it13:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it14
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it14:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it15
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it15:
End If
If Sheets("Current_Detail").Range("G" & i) = 6 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it16
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it16:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it17
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it17:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it18
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it18:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it19
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it19:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it20
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it20:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AB" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AC" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it21
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AD" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AE" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it21:
End If
If Sheets("Current_Detail").Range("G" & i) = 7 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it22
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it22:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it23
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it23:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it24
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it24:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it25
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it25:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it26
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it26:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AB" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AC" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it27
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AD" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AE" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it27:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AF" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AG" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it28
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AH" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AI" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it28:
End If
If Sheets("Current_Detail").Range("G" & i) = 8 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it29
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it29:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it30
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it30:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it31
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it31:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it32
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it32:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it33
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it33:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AB" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AC" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it34
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AD" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AE" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it34:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AF" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AG" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it35
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AH" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AI" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it35:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AJ" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AK" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it36
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AL" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AM" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it36:
End If
If Sheets("Current_Detail").Range("G" & i) = 9 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it37
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it37:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it38
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it38:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it39
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it39:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it40
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it40:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it41
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it41:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AB" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AC" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it42
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AD" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AE" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it42:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AF" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AG" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it43
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AH" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AI" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it43:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AJ" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AK" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it44
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AL" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AM" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it44:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AN" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AO" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it45
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AP" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AQ" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it45:
End If
If Sheets("Current_Detail").Range("G" & i) = 10 Then
Sheets("JOB_HISTORY").Select
Range("a1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("H" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("I" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it46
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("J" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(0, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("K" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it46:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("L" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("M" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it47
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("N" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(1, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("O" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it47:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("P" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Q" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it48
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("R" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(2, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("S" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it48:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("T" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("U" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it49
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("V" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(3, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("W" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it49:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("X" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Y" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it50
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("Z" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(4, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AA" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it50:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AB" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AC" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it51
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AD" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(5, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AE" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it51:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AF" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AG" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it52
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AH" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(6, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AI" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it52:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AJ" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AK" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it53
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AL" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(7, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AM" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it53:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AN" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AO" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it54
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AP" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(8, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AQ" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it54:
Sheets("JOB_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(9, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AR" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("JOB_HISTORY").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(9, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AS" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Set findit = Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
If findit Is Nothing Then GoTo ****it55
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(9, 2).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AT" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("REVIEW_HISTORY").Select
Range("A1").Select
Cells.Find(What:=emp_id, After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Offset(9, 1).Range("A1").Select
Selection.Copy
Sheets("CURRENT_DETAIL").Range("AU" & i).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
****it55:
End If
Next i
Sheets("Current_Detail").Select
Cells.EntireColumn.AutoFit
[G1] = "# of Jobs"
Columns("V:W").Cut
Columns("Z:Z").Insert Shift:=xlToRight
Columns("R:S").Cut
Columns("X:X").Insert Shift:=xlToRight
Columns("N:O").Cut
Columns("V:V").Insert Shift:=xlToRight
Columns("J:K").Cut
Columns("T:T").Insert Shift:=xlToRight
End Sub