ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Comparing String Values (https://www.excelbanter.com/excel-programming/308772-re-comparing-string-values.html)

Roderick[_4_]

Comparing String Values
 
Hello!

Try:
If NOT(Value_of_Cell = Title) Then Broken = True

You can't negate a string variable afaik.

What should also work is:
Broken = NOT(Value_of_Cell = Title)

Ro

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com