b001
asked on
IF statement not working Visual Studio
Hi Expert
I am trying to use IF then End if
the following code is not working
If grid3.Rows(intcount).Cells .Item("a3" ).Value = "'" & TextBox3.Text & "'" THEN
MSGBOX("OK")
END IF
I have looked at the value return
grid3.Rows(intcount).Cells .Item("a3" ).Value
returns ABSS
AND
"'" & TextBox3.Text & "'"
RETURNS ''ABSS'
Values are different
PLEASE HELP
THANKS
I am trying to use IF then End if
the following code is not working
If grid3.Rows(intcount).Cells
MSGBOX("OK")
END IF
I have looked at the value return
grid3.Rows(intcount).Cells
returns ABSS
AND
"'" & TextBox3.Text & "'"
RETURNS ''ABSS'
Values are different
PLEASE HELP
THANKS
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.