Hi
Getting an odd one here that I think may be network/security based rather than VBA but would like to check first.
I have a bit of Outlook automation code that I have re-used from a previous application. It worked fine there, and it works fine in the new app from my office but when I tried it at the clien't I got an "Automation error - The specified module could not be found"
The line the code is failing on is
objOutlook is dimensioned as Outlook.Application at the start.
Two questions I suppose, why might it work in my office and not my client's - both Access 2003 running on XP Pro with Small Business Server (but I do not manage their server so there may be other issues). Secondly might it be better to introduce a new line above the Set objOutlook line to read
Set objOutlook = New Outlook.Application
or would that simply be redundant?
If anyone can point me that would be wonderful
Thanks and best wishes
Getting an odd one here that I think may be network/security based rather than VBA but would like to check first.
I have a bit of Outlook automation code that I have re-used from a previous application. It worked fine there, and it works fine in the new app from my office but when I tried it at the clien't I got an "Automation error - The specified module could not be found"
The line the code is failing on is
Code:
' Create the Outlook session.
Set objOutlook = CreateObject("Outlook.Application")
Two questions I suppose, why might it work in my office and not my client's - both Access 2003 running on XP Pro with Small Business Server (but I do not manage their server so there may be other issues). Secondly might it be better to introduce a new line above the Set objOutlook line to read
Set objOutlook = New Outlook.Application
or would that simply be redundant?
If anyone can point me that would be wonderful
Thanks and best wishes