If Alt + F11 can not open VBA editor, please try to press Alt + F8, check whether the hotkey can open 'Macro' windows.
Then I suggest you go to Developer tab > Code group
, click each of ‘Visual Basic’ and ‘Macros’ buttons as following image to have a check.
Please note: To show Developer tab, you may refer to the link: https://support.microsoft.com/en-us/office/show-the-developer-tab-e1192344-5e56-4d45-931b-e5fd9bea2d45.
Any updates, please feel free to post back.
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.