Private Sub Worksheet_Change(ByVal Target As Range)
application.enableevents=false
If Range("E18") = 8 Then
Range("y5:z14").Copy Worksheets("HTD ratio").Range("A5")
Else
Range("w5:x14").Copy Worksheets("HTD ratio").Range("A5")
End If
application.enableevents=true
End Sub