View Single Post
  #8 (permalink)  
Old 01-29-10, 16:44
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,307
Code:
If optRateA.Value = True Then
  intGross = intHours * optRateA
Else
  If optRateB.Value = True Then
    intGross = intHours * optRateB
  Else: optRateC.Value = True
    intGross = intHours * optRateC
  End If
Does this help? Code formatting can be a wonderful thing!

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote