Sub CreateFiles()
Application.ScreenUpdating = False
Dim srcWB As Workbook
Set srcWB = ThisWorkbook
Dim ciSH As Worksheet
Set ciSH = srcWB.Sheets("RGA-Credit Info")
Dim rSH As Worksheet
Set rSH = srcWB.Sheets("RGA Return Sheet")
Dim cmSH As Worksheet
Set cmSH = srcWB.Sheets("Credit Memo Sheet")
rSH.Range("A3") = ciSH.Range("A2")
rSH.Range("C3") = ciSH.Range("B2")
rSH.Range("D3") = ciSH.Range("C2")
rSH.Range("C4") = ciSH.Range("D2")
rSH.Range("C5") = ciSH.Range("F2")
rSH.Range("C6") = ciSH.Range("G2")
rSH.Range("C7") = ciSH.Range("H2")
rSH.Range("C19") = ciSH.Range("N2")
rSH.Range("E19") = ciSH.Range("O2")
rSH.Range("D24") = ciSH.Range("N2")
rSH.Range("A25") = ciSH.Range("E2")
rSH.Range("B25") = ciSH.Range("D2")
rSH.Range("D25") = ciSH.Range("G2")
cmSH.Range("B2") = ciSH.Range("N2")
cmSH.Range("B3") = ciSH.Range("Q2")
cmSH.Range("B4") = ciSH.Range("O2")
cmSH.Range("A8") = ciSH.Range("A2")
cmSH.Range("E8") = ciSH.Range("B2")
cmSH.Range("B21") = ciSH.Range("M2")
cmSH.Range("C22") = ciSH.Range("D2")
cmSH.Range("E22") = ciSH.Range("E2")
cmSH.Range("C23") = ciSH.Range("G2")
cmSH.Range("E26") = ciSH.Range("R2")
ciSH.Range("I2:K" & Range("I" & Rows.Count).End(xlUp).Row).Copy
rSH.Range("A10").PasteSpecial xlPasteValues
ciSH.Range("L2:L" & Range("L" & Rows.Count).End(xlUp).Row).Copy
rSH.Range("E10").PasteSpecial xlPasteValues
ciSH.Range("I2:I" & Range("I" & Rows.Count).End(xlUp).Row).Copy
cmSH.Range("A10").PasteSpecial xlPasteValues
ciSH.Range("P2:P" & Range("P" & Rows.Count).End(xlUp).Row).Copy
cmSH.Range("B10").PasteSpecial xlPasteValues
ciSH.Range("J2:L" & Range("L" & Rows.Count).End(xlUp).Row).Copy
cmSH.Range("C10").PasteSpecial xlPasteValues
Application.CutCopyMode = False
Workbooks.Add (xlWBATWorksheet)
srcWB.Sheets("RGA Return Sheet").Copy after:=Sheets(Sheets.Count)
srcWB.Sheets("Credit Memo Sheet").Copy after:=Sheets(Sheets.Count)
Application.DisplayAlerts = False
Sheets("Sheet1").Delete
Application.DisplayAlerts = True
ActiveWorkbook.SaveAs Filename:=srcWB.Path & "\" & Sheets("RGA Return Sheet").Range("C3").Value & ".xlsx", FileFormat:=51
ActiveWorkbook.Close False
ciSH.UsedRange.Offset(1, 0).ClearContents
Application.ScreenUpdating = True
End Sub