silvertyphoon1
New Member
- Joined
- Nov 14, 2010
- Messages
- 18
I have a sheet called "Hours" and another one called "Name". When a button is pressed the sequence of events should follow:
1. A loop searches through Column "B" on the Hours sheet and looks for the word "Alex". If it finds "Alex" it looks in the same row but Column D for the word "Submitted".
If it finds both "Alex" and "Submitted" it continues on down the list. But if it only finds "Alex" the following happens:
The data from that row column "A" is copied to the "Name" sheet in the next blank row in column "A". The data from column "E" of that same row in the Hours sheet is copied to the "Name" sheet on that same row in the "F" column. Lastly the data on that same row from the Hours sheet column "G" is copied to the "name" sheet on the same row column "G".
Once this action is complete the word "Submitted" should be placed in the row for the "Hours" sheet.
The loop continues until it checks all of the names and completes the ones not submitted. If all are submitted it will end - Thanks in advanced!!
1. A loop searches through Column "B" on the Hours sheet and looks for the word "Alex". If it finds "Alex" it looks in the same row but Column D for the word "Submitted".
If it finds both "Alex" and "Submitted" it continues on down the list. But if it only finds "Alex" the following happens:
The data from that row column "A" is copied to the "Name" sheet in the next blank row in column "A". The data from column "E" of that same row in the Hours sheet is copied to the "Name" sheet on that same row in the "F" column. Lastly the data on that same row from the Hours sheet column "G" is copied to the "name" sheet on the same row column "G".
Once this action is complete the word "Submitted" should be placed in the row for the "Hours" sheet.
The loop continues until it checks all of the names and completes the ones not submitted. If all are submitted it will end - Thanks in advanced!!