Search defined value from selected range then copy row to new worksheet.
The sample was created at file attached. Please help.
Search defined value from selected range then copy row to new worksheet.
The sample was created at file attached. Please help.
Last edited by Shermaine2010; 01-24-2017 at 10:23 AM.
Based upon what you have asked I have written some code and put it the attached file
---
Hans
"IT" Always crosses your path!
May the (vba) code be with you... if it isn't; start debugging!
If you like my answer, Click the * below to say thank-you
I add in advance filter search for multiple criteria. however I got syntax error fpr below code
Please Login or Register to view this content.
Well, when you decide to use the code provided and you edit it then you should keep in mind that you show do it correctly.
It's full of errors and missing references, all in incorrect order and the error you show is due to the fact that you forgot to place an _ after the Copy, to indicate that the following line of code belongs there, well, to make it short, when you copy and use, check the code, step by step
Here's the corrected version with the modifications, I hope this is the result you wanted.
BTW you CANNOT select a range in a worksheet if it's not active !!!
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks