The loop for the browse is different to the loop for the export.
So the code in the ValidateExport for the browse loop is not the same embed as ValidateExport for the export loop.
I'll consider the implications of placing that embed in both places, so the same code is used, but for now you should just duplicate the code in the ExportToExcel routine.
cheers
Bruce