Status B & C: commission + 3% bonus ; Status A: commission only
Status A is calculating correctly, but B & C is not. I'd appreciate any help with this.
If StatusCode <> "A" Then
Bonus = 0.03
Commission = CommissionRate * Bonus * SalesAmount
Else
Bonus = 1
Commission = CommissionRate * SalesAmount
End If
Range("D" & nRow).Value = Commission
Continue = MsgBox("Input another line?", vbYesNo, "Continue?")
If Continue = vbYes Then Commissions
Status A is calculating correctly, but B & C is not. I'd appreciate any help with this.
If StatusCode <> "A" Then
Bonus = 0.03
Commission = CommissionRate * Bonus * SalesAmount
Else
Bonus = 1
Commission = CommissionRate * SalesAmount
End If
Range("D" & nRow).Value = Commission
Continue = MsgBox("Input another line?", vbYesNo, "Continue?")
If Continue = vbYes Then Commissions