An implementation of Visual Basic that is built into Microsoft products.
Thank you for reaching out!
This issue occurs when Excel's VBA component is not properly installed or registered in Microsoft 365. Please run Microsoft 365 -> Change -> Online Repair and ensure Visual Basic for Application is enabled.
After repair or reboot, Open Excel VBA and verify Tools -> Reference is available.
Let me know if you need any further help with this. I will be happy to assist.
If you find this helpful, Kindly mark the provided solution as "Accept Answer", so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.