It creates a excel table using the input from the gui and distributes the input by the date of birth .For tabel_categories the code creates from the start worksheets for every categorie .For tabel_categories2 the code creates a worksheet for every category that you input