I found this code online and it works, however, there are 2 issues.
1. It creates an Excel file called OT Allocation.xls. When I open it, click on Window in the main menu, it actually shows 2 files are opened, the other one called Book 1. Book 1 contians only the header row. When I close...