Add john's code for exporting grid to Excel