This are code snippets from a project i recently did for a client to help her easily schedule TV programs to be shown over a time period. The program takes in a bunch of excel sheetsand extract some data from them which is then used to populate a weekly Tv show timeline.