If you create a Dash app like this:
app = Dash(__name__, static_folder='static')
And create a folder static
in the same directory as the Python script, then the contents of that directory will be accessible via the web. So you can have you Dash callback create the excel file into that folder and then return the URL to the file. That URL will by default be /static/some_file.xlsx
.