Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am writing a macro that will compare cell contents, using a case statement.
Does a method exist where a comparison can be made on a portion of the cell contents? For example, I might want to act on a cell that contains the word "apple". The caveat is that "apple" is not the only thing in the cell string. I tried to use "like" and "is", but received a compile error - apparently "like" and "is" are not valid comparison operators. What else could I try? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Case Statement Format for getting cell value from a worksheet | Excel Discussion (Misc queries) | |||
Comparing cell contents via VB | Excel Discussion (Misc queries) | |||
Comparing Cell Contents in 2 or More Columns | Excel Discussion (Misc queries) | |||
how do I format a cell to display its contents in Upper case? | Excel Discussion (Misc queries) | |||
Comparing cell contents with different reference cells | Excel Worksheet Functions |