Private Sub RepCommissionBoxGroup_AfterUpdate()
If Me.ckbRepCom1 = True Then Me.tboCashCommission = Me.tboRepComFig1
End If
If Me.ckbRepCom2 = True Then Me.tboCashCommission = Me.tboRepComFig2
End If
If Me.ckbRepCom3 = True Then Me.tboCashCommission = Me.tboRepComFig3
End If
If Me.ckbRepCom4 = True Then Me.tboCashCommission = Me.tboRepComFig4
End If
If Me.ckbRepCom5 = True Then Me.tboCashCommission = Me.tboRepComFig5
End If
End Sub
Can anyone tell me whats wrong with my vba?
If Me.ckbRepCom1 = True Then Me.tboCashCommission = Me.tboRepComFig1
End If
If Me.ckbRepCom2 = True Then Me.tboCashCommission = Me.tboRepComFig2
End If
If Me.ckbRepCom3 = True Then Me.tboCashCommission = Me.tboRepComFig3
End If
If Me.ckbRepCom4 = True Then Me.tboCashCommission = Me.tboRepComFig4
End If
If Me.ckbRepCom5 = True Then Me.tboCashCommission = Me.tboRepComFig5
End If
End Sub
Can anyone tell me whats wrong with my vba?