Probably simple, but driving me nuts. I want to filter a list for entries that end with certain characters. If I put the characters in the code, like this:
Form.Filter = "[Item] Like '" & "*" & "M28'"
it works fine.
How do I refer to a control instead having to write the characters in the code?. I have no problems with "begins with" or "Contains", but can't seem to find the right combo of quotation marks and apostrophes to make "ends with" work.
An aside: Is there some site that explains the logic of using quotation marks, and apostrophes and parentheses in vba filter expressions?. I just copy them, but somehow miss the logic associated with them (as you can tell from my question.)
Any help much appreciated.