Probably some Form you are using in VBA is missing a reference. Here is the most common resolution on Stackoverflow:
I would go your VBA Project Tools->References and select most common tools/form libraries e.g. Common Controls, Microsoft Office 16.0 Object Library etc.
If this doesn’t work check if you are not using some forms in your VBA macro that might not be defined in your workbook.