I need some help with a strange error that happens intermittently.
I have an Excel VBA process that formats some reports and sends them as email attachments. The process works flawlessly EXCEPT that OCCASSIONALLY the reference that I have to the Microsoft Outlook 9.0 Object Library will change to Microsoft Outlook 11.0. When this happens, it can't find the msoutl.olb object library because the 11.0 reference points to a folder I don't have (c:\Program Files\Microsoft Office\OFFICE11\msoutl.olb).
To fix the problem, I un-select the 11.0 reference and re-select the 9.0 reference, save the project, and it works for several days. But then it seems to change itself back to the 11.0 reference and stops working. This process runs on an unattended workstation, so no other Excel activity is happening.
Any help on this strange issue would be greatly appreciated!
Thanks,
Steve
I have an Excel VBA process that formats some reports and sends them as email attachments. The process works flawlessly EXCEPT that OCCASSIONALLY the reference that I have to the Microsoft Outlook 9.0 Object Library will change to Microsoft Outlook 11.0. When this happens, it can't find the msoutl.olb object library because the 11.0 reference points to a folder I don't have (c:\Program Files\Microsoft Office\OFFICE11\msoutl.olb).
To fix the problem, I un-select the 11.0 reference and re-select the 9.0 reference, save the project, and it works for several days. But then it seems to change itself back to the 11.0 reference and stops working. This process runs on an unattended workstation, so no other Excel activity is happening.
Any help on this strange issue would be greatly appreciated!
Thanks,
Steve