Can anyone help me refine this macro.
Code:
Private Sub Tax_Click()
Application.ScreenUpdating = False
If Range("v6").Value <> ("No Tax") And Range("f19").Value <> blank Then
CheckBox1.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f20").Value <> blank Then
CheckBox2.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f21").Value <> blank Then
CheckBox3.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f22").Value <> blank Then
CheckBox4.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f23").Value <> blank Then
CheckBox5.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f24").Value <> blank Then
CheckBox6.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f25").Value <> blank Then
CheckBox7.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f26").Value <> blank Then
CheckBox8.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f27").Value <> blank Then
CheckBox9.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f28").Value <> blank Then
CheckBox10.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f29").Value <> blank Then
CheckBox11.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f30").Value <> blank Then
CheckBox12.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f31").Value <> blank Then
CheckBox13.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f32").Value <> blank Then
CheckBox14.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f33").Value <> blank Then
CheckBox15.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f34").Value <> blank Then
CheckBox16.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f35").Value <> blank Then
CheckBox17.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f36").Value <> blank Then
CheckBox18.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f37").Value <> blank Then
CheckBox19.Value = True
End If
If Range("v6").Value <> ("No Tax") And Range("f38").Value <> blank Then
CheckBox20.Value = True
End If
End Sub