Rodrigo
07-09-2010 17:02:11
Mauro/Jose,
Sabe como eu posso fazer que a cada vez que eu digito no campo A eu rodo essa rotina como Loop, tem que ser como loop pois dependendo da qtde e me retorno o status do estoque.
Dim I As Currency
Dim J As Currency
Dim L As Currency
I = txtFax.Value
J = txtCEP.Value
L = txtPais.Value
If I < J Then
txtTelefone.Text = "Abaixo do estoque"
End If
If I > L Then
txtTelefone.Text = "Over estoque"
End If
If I > J And I < L Then
txtTelefone.Text = "Dentro Min/Max"
End If
Obrigado
Sabe como eu posso fazer que a cada vez que eu digito no campo A eu rodo essa rotina como Loop, tem que ser como loop pois dependendo da qtde e me retorno o status do estoque.
Dim I As Currency
Dim J As Currency
Dim L As Currency
I = txtFax.Value
J = txtCEP.Value
L = txtPais.Value
If I < J Then
txtTelefone.Text = "Abaixo do estoque"
End If
If I > L Then
txtTelefone.Text = "Over estoque"
End If
If I > J And I < L Then
txtTelefone.Text = "Dentro Min/Max"
End If
Obrigado