Macro to move rows, row by row, from one worksheet to another worksheet based upon specific criteria.
I need a macro that I can apply (to a rectangle click) to match and move rows from one work sheet to the corresponding row in another worksheet.
Conditions:
-Column A "Location" = Values are Unique
-All other Columns = Values are NOT unique
-A list of Contents is added to the worksheet "PullSheet"
-The "Get Pull Sheet" rectangle is clicked
1. The first, only the first, matching contents row in the worksheet "MasterLog" is moved (copied and then deleted, so it cannot be pulled again, from "MasterLog") to the corresponding row in worksheet "PullSheet".
2. If the MasterLog's "On Hold" column's value is "True", it does not recognize this row as an option to be moved to PullSheet.
3. Then goes row by row (Item by Item) doing the same thing.
The top 3 criteria are very important to me. If it is possible the next 2 would be very helpful as well, but not necessary.
4. If the Contents row in "PullSheet" does not have a match in "MasterLog" it should be highlighted Red.
5. If the Contents Row in "PullSheet" matches a (Location) that is a "Z?????" it should be highlighted Green after being moved to "PullSheet"
I have attached a sample workbook to see more clearly what I am referring to. Thank You All.
Bookmarks