Quickie to start...
I would prefer it to be able to work in upper and lower case
VBA is case sensitive - 'a' <> 'A'
You can get around this by converting all strings to upper or lower case before comparing, or by adding
as the very first line in the code module.
PS:
Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.
Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.
Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
(This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
Bookmarks