Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Have you recently updated your windows system? Will you have the same problem with opening other non-office software?
If this is the case, it is likely that the system files have been lost.
You can refer to this similar situation below to troubleshoot the problem:
If it's just the office software that's causing this problem, I suggest you repair office:
1.Open Control Panel - Programs and Features
2.Click Microsoft Office in the list of installed applications
3.click 'Change'
4.On the resulting dialog, click 'Repair' - choose the online repair, it is a comprehensive fix