I am a newbie to VBA and am attempting to create a function which will
a) Compare 1 cell with a string to another cell with a string such that
b) If ANY of the characters in Cell1 are contained in Cell 2, a "true" result is provided, else "false."
Example 1: evaluates whether any of the letters in Cell1 are in Cell2
A1: BC
B1: CD
Result - true
Example 2: evaluates whether any of the letters in Cell1 are in Cell2
A1: AB
B1: CD
Result: false
I THINK this involves not only a boolean search but the LEN command.
Thanks so much in advance! This will help me in my learning the basics of VBA!
a) Compare 1 cell with a string to another cell with a string such that
b) If ANY of the characters in Cell1 are contained in Cell 2, a "true" result is provided, else "false."
Example 1: evaluates whether any of the letters in Cell1 are in Cell2
A1: BC
B1: CD
Result - true
Example 2: evaluates whether any of the letters in Cell1 are in Cell2
A1: AB
B1: CD
Result: false
I THINK this involves not only a boolean search but the LEN command.
Thanks so much in advance! This will help me in my learning the basics of VBA!