View Single Post
  #7 (permalink)  
Old 01-29-10, 16:21
CathyMe CathyMe is offline
Registered User
 
Join Date: Jan 2010
Location: Fiji
Posts: 4
Please help, I am really new to vb I got a compile error saying "Block If Without End If"
and everytime I try correcting it, it still gives me the same error and End Sub is highlighted...I am working with Option buttons which I am new to. Here's the 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

Please help me!
Reply With Quote