Hi Jude,
try the following macro:
Sub Add_Missing_Ledger()
'
Dim c_ell As Range, C_ell1 As Range
'
Application.ScreenUpdating = False
'
For Each c_ell In Range("Q14", Cells(Rows.Count, 17).End(xlUp))
Range("U12") = c_ell
Range("V12") = c_ell.Offset(0, 1)
Range("U12:AF15").Select
Selection.Copy
'
For Each C_ell1 In Range("C11", Cells(Rows.Count, 3).End(xlUp))
If (C_ell1 > c_ell And C_ell1.Font.Bold = True And InStr(1, C_ell1, "TOTAL", vbTextCompare) = 0) _
Or C_ell1 = "GRAND TOTAL" Then
C_ell1.Select
Selection.Insert shift:=xlDown
Exit For
End If
Next
Next
'
Application.ScreenUpdating = True
End Sub
Hope this helps
Bookmarks