datavizwiz
New Member
- Joined
- Aug 21, 2018
- Messages
- 5
Hi guys!
I am in need of VBA code that will copy data from one sheet and paste it into another sheet with some slight modifications...
I have some data that is in the current format ofColumns A through N)
[TABLE="width: 2101"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Employee ID[/TD]
[TD] Weekly Start Date 1[/TD]
[TD] Weekly End Date 1[/TD]
[TD] Weekly Start Date 2[/TD]
[TD] Weekly End Date 2[/TD]
[TD] Weekly Start Date 3[/TD]
[TD] Weekly End Date 3[/TD]
[TD] Daily Start Date 1[/TD]
[TD] Daily End Date 1[/TD]
[TD] Daily Start Date 2[/TD]
[TD] Daily End Date 2[/TD]
[TD]Daily Start Date 3[/TD]
[TD]to Daily End Date 3[/TD]
[/TR]
[TR]
[TD]Test Name[/TD]
[TD]U37505[/TD]
[TD="align: right"]5/10/2019[/TD]
[TD="align: right"]5/12/2019[/TD]
[TD="align: right"]5/9/2019[/TD]
[TD="align: right"]5/11/2019[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]5/31/2019[/TD]
[TD="align: right"]6/1/2019[/TD]
[TD="align: right"]5/31/2019[/TD]
[TD="align: right"]5/31/2019[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
That I need to be in the format of:
Employee ID: Vacation ID: Start Date: End Date:
U37505 Weekly 1 5/10/2019 5/12/2019
U37505 Weekly 2 5/9/2018 5/11/2019
I also need to make sure that if there are blank fields that they reflect accurately.
I was trying to modify this code that someone on this site provided me for another project, but my VBA skills are mediocre and I'm on a time constraint so I was hoping one of you lovely folks here could help me!
I am in need of VBA code that will copy data from one sheet and paste it into another sheet with some slight modifications...
I have some data that is in the current format ofColumns A through N)
[TABLE="width: 2101"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Employee ID[/TD]
[TD] Weekly Start Date 1[/TD]
[TD] Weekly End Date 1[/TD]
[TD] Weekly Start Date 2[/TD]
[TD] Weekly End Date 2[/TD]
[TD] Weekly Start Date 3[/TD]
[TD] Weekly End Date 3[/TD]
[TD] Daily Start Date 1[/TD]
[TD] Daily End Date 1[/TD]
[TD] Daily Start Date 2[/TD]
[TD] Daily End Date 2[/TD]
[TD]Daily Start Date 3[/TD]
[TD]to Daily End Date 3[/TD]
[/TR]
[TR]
[TD]Test Name[/TD]
[TD]U37505[/TD]
[TD="align: right"]5/10/2019[/TD]
[TD="align: right"]5/12/2019[/TD]
[TD="align: right"]5/9/2019[/TD]
[TD="align: right"]5/11/2019[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]5/31/2019[/TD]
[TD="align: right"]6/1/2019[/TD]
[TD="align: right"]5/31/2019[/TD]
[TD="align: right"]5/31/2019[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
That I need to be in the format of:
Employee ID: Vacation ID: Start Date: End Date:
U37505 Weekly 1 5/10/2019 5/12/2019
U37505 Weekly 2 5/9/2018 5/11/2019
I also need to make sure that if there are blank fields that they reflect accurately.
I was trying to modify this code that someone on this site provided me for another project, but my VBA skills are mediocre and I'm on a time constraint so I was hoping one of you lovely folks here could help me!