I have a large number of workbooks containing vba code. These programs were written in excel 2003 on a windows xp sp3 pc and worked without a problem. One of the references in all programs was to Microsoft DAO 3.6 Object library. All of the programs use userforms which have Common Dialog boxes.
A while ago, I upgraded to a W7 64 bit machine and installed Office 2003. The programs continued to run without a problem. I then purchased and installed Office 2007 and the programs ran in both excel 2003 and 2007. I had problems with apparent conflicts with Word 2003 and Word 2007 so following advice elsewhere in these forums, I uninstalled Office 2003 and then re-installed excel 2003 only.
Now none of my programs will run in either version of excel. As soon as I try to run a program, I get "Object library invalid or contains references to object definitions that could not be found". I then checked the Tools/References and see that Microsoft DAO 3.6 Object library is shown as MISSING.
What has happened to this library? How can I get it back? What caused it to go missing?
Also the reference for Common Dialog Boxes is not present so I can not create these boxes on new forms.
Also when I try to save any of these workbooks (to my C drive) I get a "Document not saved" message and the workbook is not saved.
Can anyone tell me what is going on please
Bookmarks