1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
hgc = 100
testgcb:
Range("Q18").FormulaR1C1 = hgc
If Sheets("Supports").Cells(27, 7).Value / Sheets("Supports").Cells(26, 7).Value < 1.04 Then
hgc = hgc + 5
GoTo testgcb
End If
If Sheets("Supports").Cells(29, 7).Value / Sheets("Supports").Cells(28, 7).Value < 1.04 Then
hgc = hgc + 5
GoTo testgcb
End If
If Sheets("Supports").Cells(45, 7).Value / Sheets("Supports").Cells(44, 7).Value < 1.04 Then
hgc = hgc + 5
GoTo testgcb
End If
If Sheets("Supports").Cells(47, 7).Value / Sheets("Supports").Cells(46, 7).Value < 1.04 Then
hgc = hgc + 5
GoTo testgcb
End If |