silvertyphoon1
New Member
- Joined
- Nov 14, 2010
- Messages
- 18
I had a quick question regarding loops and how they might search through a range and add data to another worksheet.
Here is steps to how this should work in my head but I haven't had to much luck - Thanks in advance!
1. The user presses a button on a userform
2. The code would then search through column A and if it finds the word "Cat" it would then check column D for the word "Done". If it finds "Done" it will continue on looping through until it finds one with "Cat" in column A but no "Done" in column D.
Once this is found to be true it will take the values from column E and column F in the same row and add it to the next blank row on another worksheet called Wrk7. It will also add the word "Done" to column D in the row it just completed.
3. In short the code should be searching for rows that have not had data extracted. When it finds those it extracts or copies the data over and adds the word done to show it has been.
Any help would be greatly appreciated - Thanks again
Here is steps to how this should work in my head but I haven't had to much luck - Thanks in advance!
1. The user presses a button on a userform
2. The code would then search through column A and if it finds the word "Cat" it would then check column D for the word "Done". If it finds "Done" it will continue on looping through until it finds one with "Cat" in column A but no "Done" in column D.
Once this is found to be true it will take the values from column E and column F in the same row and add it to the next blank row on another worksheet called Wrk7. It will also add the word "Done" to column D in the row it just completed.
3. In short the code should be searching for rows that have not had data extracted. When it finds those it extracts or copies the data over and adds the word done to show it has been.
Any help would be greatly appreciated - Thanks again