Home → Troubleshooting → @RISK for Excel: Other Issues → "Object not initialized"
Applies to: @RISK 5.x–7.x, Professional and Industrial Editions
My VBA code referencing @RISK fails with "Object not initialized", "Object required", or another error message.
You need to create a reference to the proper @RISK object library in your VBA. Please see Setting References in Visual Basic for the necessary references and how to set them.
These references vary by version of @RISK. If you have macro code that fails now but worked in a previous version of @RISK, probably all you need to do is remove the reference to the old version and add the proper reference or references to the current version.
Last edited: 2015-10-15