Hi,
I suggest you try to open VB editor in Excel using Alt + F11 keyboard shortcut.
I also suggest you try to repair Office application:
It is also recommended that you check whether the firewall and anti-virus software are enabled, you can disable these and try agian.
Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
If the response is helpful, please click "Accept Answer" and upvote it.
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.