Converting to xls is ow part of the object that is being converted. fixes the course codes not getting exported with applications
change the way the code is grabbed