I am a beginner programmer. I a working on a project for a night class where I have to calculate monthly mortgage payments and interest paid via given formulas. I am using the Call function for the formulas. If bad data is supplied the user should be informed. How do you do this with Call functions? In my Private Sub statements for example I have:
Let p = Val(txtLoan.Text)
Wouldn't the program know that only numbers can be entered here? This is where I am confused. How is the user informed if anything other than bad data is input? Also I am getting a Runtime error "Overflow" and the debug shows the formula highlighted.