I have code that very simply when something is entered into a column, it selects all of the worksheets and copies it into those worksheets in the same column in the same row. Why then does the code seemingly keep running until it overflow's and kills itself.
How do I stop it after it pastes the value into every single worksheet?
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Const cCol As String = "A"
Const fRow As Long = 2
Dim mnths As Long
Dim crg As Range
Set crg = Columns(cCol).Resize(Rows.Count - fRow + 1).Offset(fRow - 1)
Dim irg As Range: Set irg = Intersect(crg, Target)
If Not irg Is Nothing Then
irg.Copy
Sheets(Array("Statistics", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")).Select
irg.PasteSpecial xlPasteValues
Else
End If
End Sub