I have a VB script within Excel that references Microsoft Outlook 9.0 Object Library Located in C:\Program Files\Microsoft Office\Office\MSOUTL9.OLB. When I run the script and hit the statement:
Set ojbOL = New Outlook.Application
I get a runtime error 48 that says "Error in Loading DLL".
There is nothing wrong with the code as I have run this script several times in the past and it worked just fine. Moreover, I can run the script without any problems on other computers. There have been no updates or new installations on this computer. The only change that had been made was the file "Msoutl.olb" was copied into the same directory as the msoutl9.olb.
I have tried to re-install Outlook and Excel but it has not resulted in any progress. I have also tried copying over the dll's from other computers where the script will run but I still get the same error.