View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
David David is offline
external usenet poster
 
Posts: 1,560
Default Logic and Loop Code

Hi,
It is hard to make comparisons with strings, why are they Dim that way?
--
David


"oscarooko" wrote:


Hello,
I have this code that is suppesed to grade some loans. Unfortunatelly,
evrytime I run it, i receive a " *run time error 13 type Mismatch*" on
the lines that Disqualify loans based on State, city, or low FICO
scores.

Someone help me fix the problem. Any advice is welcome


Sub Oscar()
Dim LoanAmount As String
Dim grade As String
Dim FICO As String
Dim lien As String
Dim LTV As String
Dim DTI As String
Dim PropType As String