Hey all, having some trouble with some VBA wherein I'm attempting to feed data into an array via a range (as far as I know, you can do this, correct me if I'm wrong), and then apply a custom autofilter to a field on another sheet. The problem is I keep getting a "type mismatch" error when running it. The data in the column I'm trying to feed from is actually straight numbers, but I want to read them in as a string type because as you'll see in the filter, I'm applying some text based wildcards as the numbers appear in the middle of a string of data on the sheet I'm trying to apply the filter to.
I made sure the data in the A column in my "Cust ID" sheet is formatted as text, and I also tried declaring "cusIDarray" as a Variant, but then I get a type mismatch on my filter statement.
Help if you can!
Bookmarks