Hi,
Test the following code, and once your happy it works, copy it 11 times (one for each remaining month) and change the macro name and the starting cell (i.e. for March change Range("M5").Select to Range("T5").Select) for each one.
Sub February()
Application.ScreenUpdating = False
Dim intCounter As Integer
Dim strCellAddress As String
Range("M5").Select
Do Until intCounter = 165
If IsEmpty(ActiveCell) = True Then
strCellAddress = ActiveCell.Address(False, False)
ActiveCell.Offset(0, -1).Select
Selection.Copy
ActiveCell.Offset(0, 7).Select
ActiveSheet.Paste
Application.CutCopyMode = False
Range(strCellAddress).Select
ActiveCell.Offset(1, 0).Select
Else
ActiveCell.Offset(1, 0).Select
End If
intCounter = intCounter + 1
Loop
Application.ScreenUpdating = True
End Sub
Hope this helps.
Kind regards,
Robert
Bookmarks