Update CopyMessagesToExcel