Checking list for contents
Hi,
I want to read a list of string-values out of cells (e.g. H2:H8) in
Excel into a variable (array) of excel-vba. Is there another
possibility to achieve this than reading one value after the other?
Then I want to check with a single code-line if a value is part of the
array and continue execution depending on the result:
if var_test "is part of" var_array then ......
Can anybody tell me how to do this?
Thx for your help
Oliver
|