I'm a total newbie in Excel and VBA. I have a sheet like this:
A B C D
someinfo someinfo someinfo OK
someinfo someinfo someinfo OK
someinfo someinfo someinfo ERROR
someinfo someinfo someinfo ERROR
someinfo someinfo someinfo OK
someinfo someinfo someinfo OK
someinfo someinfo someinfo ERROR
someinfo someinfo someinfo ERROR
Ok I'd like to copy the "OK" lines into a new sheet and the one with "ERROR" into another one.
How can I do that?
Try something like this...
You would need to change the rows/columns the data is coming from to suit your needs, but I wrote this based off your example.
EDIT: On second thought, I did some reading about filters and I would go with what others here have posted.
As stated in earlier comments this is how you would Filter~>Copy~>Paste