Option Explicit
Private Sub Worksheet_Calculate()
Application.EnableEvents = False
Range("N14").Formula = "=2*PI()*(N13-N12)/(LN(((N4+2*N5)/2000)/(N4/2000))/N9+LN(((N4+2*N6)/2000)/(N4/2000))/N10+LN(((N4+2*N6+2*N7)/2000)/((N4+2*N6)/2000))/N11)"
Range("D22").Formula = "=PI()*D21*((D4+2*D5)/1000)*D6*(D7-D8)"
Range("I10").Formula = "=I4*(I8^4-I9^4)*I7*I5"
Range("N14").Name = "conductivity"
Range("D22").Name = "convection"
Range("I10").Name = "radiation"
Range("G19").Formula = "=conductivity-(convection+radiation)"
On Error GoTo TheEnd
Range("G19").GoalSeek Goal:=0, ChangingCell:=Range("D7")
TheEnd:
Application.EnableEvents = True
End Sub
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Excel.Range)
Worksheet_Calculate
End Sub