Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking if result is negative

Status
Not open for further replies.

TTThio

Programmer
Joined
May 3, 2001
Messages
185
Location
US
Hi,

does anybody know how to check if the result is negative so that we can perform certain action?

Thanks ahead,
Tin Tin
 
VBA
If yourvalue < 0 then
msgbox &quot;Must be negative&quot;
End if
DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
Thanks DougP,

I must be beyond stress....he...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top