See this app module: https://appstore.home.mendix.com/link/app/726/Mendix/Excel-exporter
Once you have the filedocument you can use the SFTP module to place it on some server or mail the file to an email address. If you are using an on premise installation you can even dump the file on the local server but you need some Java actions for that.
Regards,
Ronald