as_workbook function

Converts a crosstable object into a formatted, savable openxlsx workbook.