Question : vba code explaination

Hi experts

How would one explain the meaning i.e. what the following VBA Code does.

see attached word document

Answer : vba code explaination

OK, the word file has cut off the the first letter, so it should start TRANSFORM which is a bit like creating a pivot chart in Excel where the data item being displayed is the sum of the field Value from the Table/Query Proficiency.
The unique rows are  Competence_Assigned_To_Task_Jan.[Employee ID], Competence_Assigned_To_Task_Jan.[Employee Full Name], Competence_Assigned_To_Task_Jan.[Position ID], Competence_Assigned_To_Task_Jan.[Position Name], Competence_Assigned_To_Task_Jan.[Job ID], Competence_Assigned_To_Task_Jan.[Job Name], Competence_Assigned_To_Task_Jan.[Skillpool Job], Competence_Assigned_To_Task_Jan.[Current Business], Competence_Assigned_To_Task_Jan.[Country key]

The query is based on three data Query/tables. There are: Proficiency, HSSE_Comp_List and Competence_Assigned_to_Task_Jan

The columns come from the data PIVOT Competence_Assigned_To_Task_Jan.[Competency Name]  and will return the following columns
in this order

In ("HSSE Leadership and Commitment","HSSE Policy and Strategic Objectives","Org, Responsibility, Resource & Reqmnts","HSSE Risk Management Framework","HEMP for Significant Risks / HSE Cases","Emergency Response","Safe Systems of Work / Personal Safety","Integrate in Business Plans & Procedures","HSSE Performance Management","Incident Investigation and Reporting","HSSE Audit","HSSE Management Review","Application of Environmental HEMP Tools","Conservation, Ecology & Bio-diversity","Quality Standards and Emission Limits","Waste & Emissions management","Contaminated Site Remediation","Health Risk Assessment","Health Impact Assessment","Human Factors Engineering","Fitness to Work","Drugs and Alcohol Management","Health Facilities and Medical Response","Product Stewardship","Security","Process / Technical Safety Engineering","Application of Safety HEMP Tools","Safety Behaviour & HSE Culture")


Kelvin
Random Solutions  
 
programming4us programming4us