willbost
New Member
- Joined
- Jun 16, 2006
- Messages
- 21
I have a spreadsheet that lists the following information in rows:
Name ID Begin Date End Date Hours per Day
Joe Smith 10001 3/18/2013 3/22/2018 8
Jane Smith 11001 8/26/2013 9/19/2013 4
There are a lot more rows, but that represents the 5 columns of data. I need to transform the data in such a ways as I get the following for Joe Smith listed above (and all others that are listed in the current sheet) on a new sheet using a macro/VBA:
Name ID Date Hours per Day
Joe Smith 10001 3/18/2013 8
Joe Smith 10001 3/19/2013 8
Joe Smith 10001 3/20/2013 8
Joe Smith 10001 3/21/2013 8
Joe Smith 10001 3/22/2013 8
As you see, it needs to look at the date range and create a new row for each individual day. As well as only provide weekdays (WORKDAYS).
Name ID Begin Date End Date Hours per Day
Joe Smith 10001 3/18/2013 3/22/2018 8
Jane Smith 11001 8/26/2013 9/19/2013 4
There are a lot more rows, but that represents the 5 columns of data. I need to transform the data in such a ways as I get the following for Joe Smith listed above (and all others that are listed in the current sheet) on a new sheet using a macro/VBA:
Name ID Date Hours per Day
Joe Smith 10001 3/18/2013 8
Joe Smith 10001 3/19/2013 8
Joe Smith 10001 3/20/2013 8
Joe Smith 10001 3/21/2013 8
Joe Smith 10001 3/22/2013 8
As you see, it needs to look at the date range and create a new row for each individual day. As well as only provide weekdays (WORKDAYS).