I have a feeling this issue may be specific to the company I work for, but any help and guidance would be appreciated.
Currently we use a mixture of Office 97, 2003 and 2007. Later this year we are going to be updated to Office 2010 and certain users are currently testing Office 2010 to ensure this meets our requirements.
One of the issues we have encountered is opening spreadsheets that contain macros that have been created in either Excel 97, 2003 or 2007. In these versions of Excel all macros work fine, but if the spreadsheet is loaded into Excel 2010, the macros when called (usually by the user pressing a button on a sheet), error with 'Compile error - Object library invalid or contains references to object definitions that could not be found'. I have checked all installed object libraries (via the Tools -> Preferences menu in VBA) on all versions, and they seem the same. The area/person(s) who originally wrote the VBA code have since been disbanded/left the company, so I am having trouble finding anyone within the company who is able to help us. This is a business critical spreadsheet which is not only used internally within the company but also by a number of external people via a link from our website, so we need to solve this issue as soon as possible.
Can anyone offer any help or advice on what may be causing this error and what can be done to correct it?
Currently we use a mixture of Office 97, 2003 and 2007. Later this year we are going to be updated to Office 2010 and certain users are currently testing Office 2010 to ensure this meets our requirements.
One of the issues we have encountered is opening spreadsheets that contain macros that have been created in either Excel 97, 2003 or 2007. In these versions of Excel all macros work fine, but if the spreadsheet is loaded into Excel 2010, the macros when called (usually by the user pressing a button on a sheet), error with 'Compile error - Object library invalid or contains references to object definitions that could not be found'. I have checked all installed object libraries (via the Tools -> Preferences menu in VBA) on all versions, and they seem the same. The area/person(s) who originally wrote the VBA code have since been disbanded/left the company, so I am having trouble finding anyone within the company who is able to help us. This is a business critical spreadsheet which is not only used internally within the company but also by a number of external people via a link from our website, so we need to solve this issue as soon as possible.
Can anyone offer any help or advice on what may be causing this error and what can be done to correct it?