Absolutely.
Place this code in the ThisWorkbook module:
Private Sub Workbook_NewSheet(ByVal Sh As Object)
Dim NewSheet As Worksheet
Set NewSheet = Sheets(ActiveSheet.Name)
Code = "Private Sub Worksheet_Change(ByVal Target As Range)" & vbCrLf
Code = Code & "MsgBox ""your code here""" & vbCrLf
Code = Code & "End Sub"
With ThisWorkbook.VBProject.VBComponents(NewSheet.Name).CodeModule
NextLine = .CountOfLines + 1
.InsertLines NextLine, Code
End With
End Sub
On addition of a new sheet to the workbook it places these three lines
of code in the new sheet's code module:
Private Sub Worksheet_Change(ByVal Target As Range)
MsgBox "your code here"
End Sub