Ak_girl
04-14-2006, 02:01 PM
I'm trying to use vba to populate a textbox based on a calculation of other text boxes. I'm stuck!:dunno Here's the statement I wrote:
If (Sum([PROJECT_BALANCE]) = 0) Then
Display "Fully Spent"
ElseIf (Sum([PROJECT_BALANCE]) < 0) Then
Display "OVER"
Elseif (SUM([PROJECT_BALANCE])<=(0.2*Sum([FUNDING_AMOUNT])) Then
Display 20% Notice"
End If
Please help!
If (Sum([PROJECT_BALANCE]) = 0) Then
Display "Fully Spent"
ElseIf (Sum([PROJECT_BALANCE]) < 0) Then
Display "OVER"
Elseif (SUM([PROJECT_BALANCE])<=(0.2*Sum([FUNDING_AMOUNT])) Then
Display 20% Notice"
End If
Please help!