jamesaplant77
New Member
- Joined
- Apr 22, 2015
- Messages
- 16
Hi. I am pretty clued up using excel, but my VBA knowledge is very limited, so I was hoping that someone may be able to offer some assistance. I have created a resourcing master file and I have also created a resource submission form, which is basically another excel spreadsheet, which will be completed and submitted to a specific folder. Once they have been submitted I need a macro that will take all the data from each sheet and map this to a specific column in the master sheet, always looking for the next empty row.
For example Cell A2 in the submitted spreadsheet, will need to be mapped to column B in the master file in the next empty row, and then loop until all data has been copied. I have pasted the form I have created below, so would be grateful if you would advise what code would be needed to transfer all data across but once pasted, it should just paste values not formatting.
[TABLE="width: 1127"]
<tbody>[TR]
[TD="colspan: 8"]Please ensure that all fields are updated, otherwise we will request this information and this will cause increased timescales in obtaining resource.[/TD]
[/TR]
[TR]
[/TR]
[TR]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Submitted Date (dd/mm/yyyy)[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Submitted By[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Programme[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Project / Workstream[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Division[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Resource Type[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Phase[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Extension/New Request[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Estimated Start Date (dd/mm/yyyy)[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Estimated End Date (dd/mm/yyyy)[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]If less than 2 months between Submitted Date & Estimated Start Date, please add a justification for why this is a late request[/TD]
[TD] [/TD]
[TD="colspan: 4"] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]FTE
[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Total No of Days Effort[/TD]
[TD="align: right"]0.00[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Role title[/TD]
[TD] [/TD]
[TD]BA (Calcs)[/TD]
[TD] [/TD]
[TD]Pensions / Protection[/TD]
[TD]Pensions[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Have you had the demand validated by a Lead (name automatically updated)?[/TD]
[TD] [/TD]
[TD]Yes[/TD]
[TD] [/TD]
[TD]Lead Name[/TD]
[TD]Allison Wood[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Comments (including specific experience/skills required and other relevent information)[/TD]
[TD] [/TD]
[TD="colspan: 4"] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col><col><col></colgroup>[/TABLE]
For example Cell A2 in the submitted spreadsheet, will need to be mapped to column B in the master file in the next empty row, and then loop until all data has been copied. I have pasted the form I have created below, so would be grateful if you would advise what code would be needed to transfer all data across but once pasted, it should just paste values not formatting.
[TABLE="width: 1127"]
<tbody>[TR]
[TD="colspan: 8"]Please ensure that all fields are updated, otherwise we will request this information and this will cause increased timescales in obtaining resource.[/TD]
[/TR]
[TR]
[/TR]
[TR]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Submitted Date (dd/mm/yyyy)[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Submitted By[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Programme[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Project / Workstream[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Division[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Resource Type[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Phase[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Extension/New Request[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Estimated Start Date (dd/mm/yyyy)[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Estimated End Date (dd/mm/yyyy)[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]If less than 2 months between Submitted Date & Estimated Start Date, please add a justification for why this is a late request[/TD]
[TD] [/TD]
[TD="colspan: 4"] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]FTE
[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Total No of Days Effort[/TD]
[TD="align: right"]0.00[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Role title[/TD]
[TD] [/TD]
[TD]BA (Calcs)[/TD]
[TD] [/TD]
[TD]Pensions / Protection[/TD]
[TD]Pensions[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Have you had the demand validated by a Lead (name automatically updated)?[/TD]
[TD] [/TD]
[TD]Yes[/TD]
[TD] [/TD]
[TD]Lead Name[/TD]
[TD]Allison Wood[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Comments (including specific experience/skills required and other relevent information)[/TD]
[TD] [/TD]
[TD="colspan: 4"] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col><col><col></colgroup>[/TABLE]