Thanks Tom
In the meantime, I did create a simple code that detected if the TookPak was not installed upon the Open event, displaying a message box if so. This code was in a new workbook that I had opened to test the code, ie there was nothing else in the workbook.
To test it, I uninstalled the TookPak, closed the workbook, and then reopened the workbook, with the msgbox displaying as intended.
I then cut and pasted this code into the This Workbook module in a very large model I am working on (with many circular references), uninstalled the ToolPak and then closed the workbook.
Upon reopening the workbook, instead of the message displaying, a VBA error message was displayed, saying error in hidden workbook (btw I have password protected the VBA code). The workbook then had #VALUE errors all through the workbook (these took some time to resolve!!).
Any idea why the error message was displayed instead of my msgbox, and are the #VALUE error messages connected with the VBA error message, or would they instead be due to the fact that the TookPak was not installed (btw re-installing the TookPak did not resolve the issue)?
Any thoughts greatly appreciated.
Cheers
pvr928