I have the following code that I hoped would use the left function to determine if a part of the string contained another string and then take the appropriate case but it doesnt work.
product is the full description
select case product
Case Left(Product, 29) = "Summer Individual Residential"
Case Left(Product, 25) = "Summer Homestay Intensive"
end select
a watch shows that product is ok so if product is "Summer Individual Residential Royal Russell" I had hoped it would select the first case but it doest.
help would be much appreciated.
regards
peter
product is the full description
select case product
Case Left(Product, 29) = "Summer Individual Residential"
Case Left(Product, 25) = "Summer Homestay Intensive"
end select
a watch shows that product is ok so if product is "Summer Individual Residential Royal Russell" I had hoped it would select the first case but it doest.
help would be much appreciated.
regards
peter