sathishesb
01-31-2011, 12:11 AM
Hi Guys,
I have tried with the below code
If validity = VALID Then
Sheet1.Cells(i, 3) = "1"
Else
Sheet1.Cells(i, 3) = "2"
End If
Next i
Validity is a variable, VALID is a the value i want to check with the stored value in the variable Validity. but i couldn't..
please help me to compare the string using IF loop
Thanks in advance ... plzzz help me:help
I have tried with the below code
If validity = VALID Then
Sheet1.Cells(i, 3) = "1"
Else
Sheet1.Cells(i, 3) = "2"
End If
Next i
Validity is a variable, VALID is a the value i want to check with the stored value in the variable Validity. but i couldn't..
please help me to compare the string using IF loop
Thanks in advance ... plzzz help me:help