I’m moving information from one sheet to another sheet based off of values in one column on the master sheet. Right now the code pulls rows based off of one value in the source column, but I need to modify it to pull rows matching two values. What I use now is
'If value in column Y ends with "6100", copy to report sheet
If c.Value Like "*6100" Then
Basically instead of just 6100 I need to pull *6100 and *6200. I don’t know why I’m not getting it to work. Any simple way to modify this?
Something like this.
Although running a AutoFilter flagging True if the last 4 digits match these two criteira may be more efficient timewise if your code takes a while