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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RoccoSiffredi

    MessageBox.Show on no input in Label?

    I want the messagebox.show to display an error message if there is no input in a label : If (txtdays.Text > 100) And (txtdays.Text = "") Then MessageBox.Show("Please enter a value between 1 and 100") There are no errors in the code but if there is no input in the txtdays label VBE hangs. What...
  2. RoccoSiffredi

    VBA Crashing On Validation Even With No Errors

    I have vba to compare values entered in a textbox. The code validates (Visual Basic 2010 Express) but hangs when I run it and enter a non numerical value in the TxtInputDays box. If Not (IsNumeric(TxtInputDays)) Then MessageBox.Show("Please enter a numerical value") ElseIf result1 >...
  3. RoccoSiffredi

    Stringing Together Multiple Ifs & Displaying Calculations To 2 DPs

    I've created vba to calculate the area of a parcel. There are two valdiation checks : If the parcels weight is less than or equal to 25 If the parcels height is less than or equal to 100 Then the formula to calculate the area is run otherwise error messages are displayed in message boxes...
  4. RoccoSiffredi

    VBA Crashing if User Does not Enter Value In Box

    Hi All The following VBA adds an integer to another integer, if a value is entered in the textbox. If the user does not enter a value in the box i.e. it is left blank and the User Change button is clicked the VBA freezes - I'm using Visual Basic Express. What statement do I need to enter to...

Part and Inventory Search

Back
Top