Thanks Zbor,
All years are in order with year end summary's in between. I am only using this VBA code starting February of 2013 going forward.
If i was going to try this, would i just drop your code in as i have shown below.
I used 12 for the value of N for the 12 months of the year. How would this work for the 1st month, if the year end summary was present? And is 12 the correct number to use or should i enter in 24 for the next 2 years i have created sheets for?
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
With Target
If .Address(False, False) = "B25" Then
If IsNumeric(.Value) Then
Application.EnableEvents = False
Range("B26").Value = Range("B26").Value + .Value
Application.EnableEvents = True
Worksheets(12).Range("B26").value = Worksheets(12).Range("B26").value + Worksheets(n-1).Range("B26").value
End If
End If
End With
End Sub
Bookmarks