thedeadzeds
Active Member
- Joined
- Aug 16, 2011
- Messages
- 451
- Office Version
- 365
- Platform
- Windows
Hi Guys,
I'm guessing this is not possible but I am trying to do the following:
I have a Worksheet called "Master" with the following column headings and I want to populate each row with data from the individual worksheets :
Is there a way to loop through all worksheets in excluding Master, extract certain text and list it in the relevant columns in the 'master' sheet.
NI Code - Search the sheet for any cell containing 'NI -A' or 'NI-B' or 'NI C' and store in the NI code column. There will only be one of these per sheet so not all 3 codes.
Name - Search the sheet for any cell containing Employee Name and store the data from the cell to the right of this in the Name Column (for example Employee Name is in cell A4 so the Name will be in B4)
Ref - Search the sheet for any cell containing Ref and store the data from the cell to the right of this in the Ref Column.
Code- Search the sheet for any cell containing Code and store the data from the cell to the right of this in the Ref Column.
Hope this makes sense
I'm guessing this is not possible but I am trying to do the following:
I have a Worksheet called "Master" with the following column headings and I want to populate each row with data from the individual worksheets :
Name | Ref | Code | NI Code |
Is there a way to loop through all worksheets in excluding Master, extract certain text and list it in the relevant columns in the 'master' sheet.
NI Code - Search the sheet for any cell containing 'NI -A' or 'NI-B' or 'NI C' and store in the NI code column. There will only be one of these per sheet so not all 3 codes.
Name - Search the sheet for any cell containing Employee Name and store the data from the cell to the right of this in the Name Column (for example Employee Name is in cell A4 so the Name will be in B4)
Ref - Search the sheet for any cell containing Ref and store the data from the cell to the right of this in the Ref Column.
Code- Search the sheet for any cell containing Code and store the data from the cell to the right of this in the Ref Column.
Hope this makes sense