Originally Posted by
watersev
I opened your attached file in post #3. I put data in A:C columns where C column cell value is stroke. I activate Main sheet the entered data with stroke moves to main sheet and "stroke" rows get deleted on Sheet secondary. Isn't it what you asked for? Do I miss anything? I do not see any problems, everything is per your request.
PS. Application.EnableEvents lines are unnecessary in the code above.
Hi Watersev,
Yes, it works out perfectly. But interestingly, when I was testing it, it wasn't pasting the 2nd time around. Anyway, I have a minor request:
A bit of twist perhaps:
I want Excel to filter on two words: "stroke" and "minor". The code now becomes:
When I run it, I get a data type mismatch error. I think the code shouldn't read .AutoFilter 3, "stroke" Or "Minor"?
Can you point out the correct way?
Thanks
Bookmarks