Hi, I am new to VBA and have been searching for codes to adapt to my needs for days and I keep hitting road blocks with my limited coding knowledge, so I'm finally surrendering my stubbornness and begging for help!
I have a workbook for individual training records that I need to update into a total "Personnel Master File". This master file is huge (165 columns across for different workplace requirements). I would like my macro to get the name in "E1" of the "Individual Training Records" page, look for the name in column "B" of the "Personnel Master File" and if found, copy and paste the training "Training Status" into the respective row cells for that individual. Note, the columns for the two workbooks will be out of alignment as there are many columns in the master file not associated to the training update workbook. I would really appreciate someone's expert advice on this.
Thanks you very much
Goal - Update this record to the Personnel Master File.
Personnel Master File...
I have a workbook for individual training records that I need to update into a total "Personnel Master File". This master file is huge (165 columns across for different workplace requirements). I would like my macro to get the name in "E1" of the "Individual Training Records" page, look for the name in column "B" of the "Personnel Master File" and if found, copy and paste the training "Training Status" into the respective row cells for that individual. Note, the columns for the two workbooks will be out of alignment as there are many columns in the master file not associated to the training update workbook. I would really appreciate someone's expert advice on this.
Thanks you very much
Goal - Update this record to the Personnel Master File.
Individual Training Records | Name: | (E1) Bugs Bunny | |||||
Employee Number: | 12345 | ||||||
Role: | Digger | ||||||
Individual Training Records | |||||||
Training | Duration | Refresh | ****Training Status**** | Evidence | EO Signature | Date | |
Induction | 0.5 | Once Only (N/A) | C | ||||
Safety | 0.5 | Once Only (N/A) | C | ||||
Environmental Awareness | 0.3 | Once Only (N/A) | C | ||||
Trade | 2 | Once Only (N/A) | NYC | ||||
Quality Introduction | 0.3 | Once Only (N/A) | |||||
Security | 1.5 | Once Only (N/A) | C |
Personnel Master File...
| Name (B1) | Original Trade | Current Trade | Supervisor | Supervisor Email | Location | Mandatory Training | Induction | Security | Environmental | Quality Introduction | Trade | Safety | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12346 | Daffy Duck | Flight squad | Flight squad | Elmer Fudd | elmerfudd@warnerbros.com.au | B20 | C | |||||||
12347 | Porky Pig | Disposal | Disposal | Elmer Fudd | elmerfudd@warnerbros.com.au | B20 | C | C | ||||||
12345 | Bugs Bunny | Digger | Digger | Elmer Fudd | elmerfudd@warnerbros.com.au | Burrow 1 | C | NYC | C |