Saving power table to excel in xlsx format

Is there a function to save a power table’s data to an excel sheet with the newer xlsx format? I have tried the dataset.toExcel and that always gives the error that it is in the incorrect format. It does open in excel but the customer does not like to see the error.

system.dataset.exportExcel exports in .xlsx format. There were bugs related to this function prior to 8.0.10.

Thank you. That worked much better. I had tried that earlier, but I hadn’t upgraded to 8.0.10 yet.