Hi @ameneh maleki,
Thank you for posting in this community.
Based on the description of your problem, I tested it, is there an error in the file you exported?
If so, this is an officially documented issue and you can refer to this article for a solution: Unable to export to Excel from SharePoint.
Also, I tried using Export to csv is no problem. You might want to try using this option instead of Export to excel.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.