Hello,
Sorry for the trouble caused at your end.
From the description shared, I would like to know whether you are encountering the error when you are trying to run a Macro or when you click on Visual Basic?
If you record a simple macro, can you run it without any problem? In addition, can you please share the Product Information of the Excel app used at your end? Open your Excel app> Account> Check the name under Product Information
Best Regards,