Question & Answer: I need VBA Code that will take a date range in two different columns and list a single date for each day. The code should copy the data in…..

need VBA Code that will take a date range in two different columns and list a single date for each day The code should copy the data in the row above it, accept for the Begin Date and End Date. The code should list a single date for the begin and end date. In Figure 1 the Begin Date is 01/01/2016 and End Date 01/04/2016. I would like for the code to produce the result in Figure 2. Changing the date range to a single date then put other single dates below it (Loop). The code should only work if the begin and end date is different. Then code should move to the next unique date and perform the same operation Figure 1 Activity PTO-Scheduled PTO-Scheduled Begin Date Begin Time End Date End Time StatsSupervisor Team Sales Budget Name John Doe Tammy Jones 1/1/2016 08:30 AM 5/23/2016 08:30 AM 01/04/2016 05:30 PM Approved Jane Doe 5/26/2016 05:30 PM Approved Mike Hicks Figure 2 Team Sales Sales Sales Sales Budget Budget Budget Budget Name John Doe John Doe John Doe John Doe Tammy Jones Tammy Jones Tammy Jones Tammy Jones Activity PTO-Scheduled PTO-Scheduled PTO-Scheduled PTO-Scheduled PTO-Scheduled PTO-Scheduled PTO-Scheduled PTO-Scheduled Begin Date Begin Time End Date End Time Stats Supervisor 1/1/2016 08:30 AM 1/1/2016 05:30 PM Approved Jane Doe 1/2/2016 08:30 AM1/2/2016 05:30 PM Approved Jane Doe 1/3/2016 08:30 AM1/3/2016 05:30 PM Approved Jane Doe 1/4/2016 08:30 AM 1/4/2016 05:30 PM Approved Jane Doe 5/23/2016 08:30 AM 5/24/2016 08:30 AM 5/25/2016 08:30 AM 5/26/2016 08:30 AM 5/23/2016 05:30 PM Approved Mike Hicks 5/24/2016 05:30 PM Approved Mike Hicks 5/25/2016 05:30 PM Approved Mike Hicks 5/26/2016 05:30 PM Approved Mike Hicks

I need VBA Code that will take a date range in two different columns and list a single date for each day. The code should copy the data in the row above it, accept for the Begin Date and End Date. The code should list a single date for the begin and end date. In Figure 1 the Begin Date is 01/01/2016 and End Date 01/04/2016. I would like for the code to produce the result in Figure 2. Changing the date range to a single date then put other single dates below it (Loop). The code should only work if the begin and end date is different. Then code should move to the next unique date and perform the same operation.

Expert Answer

 

Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: I need VBA Code that will take a date range in two different columns and list a single date for each day. The code should copy the data in…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
Order Essay

Question & Answer: I need VBA Code that will take a date range in two different columns and list a single date for each day. The code should copy the data in..... 1

Still stressed from student homework?
Get quality assistance from academic writers!