J
jpuls
We have an installation of MSPS 2003 along with MS ProjectPro 2003, all
with the appropriate service packs. To meet some particular needs, we
have automated some tasks by writing a few macros that are run in
Project Pro. When run from any of the client PCs, these macros work
fine.
We have also installed Project Pro on the server itself. When we
attempt to run one of the macros from Project Pro on the server, it
stops on the line "Dim cn As ADODB.Connection", and we get an error
message "Compile error: User-defined type not defined". This is because
the macro has a reference to the Microsoft ActiveX Objects 2.8 Library
(msado15.dll). This reference is missing from the macro. When we
attempt to add the reference in to the macro, we can't do it. The macro
fails, and the next time we open up the macro in Project Pro on the
server, we have the same problem.
Now, the macro runs on every client PC, just not on the server. I'm
figuring that there is a setting somewhere on the server which is
stopping it from running, but I don't know what it is.
Any help would be appreciated.
Thanks,
Jim
with the appropriate service packs. To meet some particular needs, we
have automated some tasks by writing a few macros that are run in
Project Pro. When run from any of the client PCs, these macros work
fine.
We have also installed Project Pro on the server itself. When we
attempt to run one of the macros from Project Pro on the server, it
stops on the line "Dim cn As ADODB.Connection", and we get an error
message "Compile error: User-defined type not defined". This is because
the macro has a reference to the Microsoft ActiveX Objects 2.8 Library
(msado15.dll). This reference is missing from the macro. When we
attempt to add the reference in to the macro, we can't do it. The macro
fails, and the next time we open up the macro in Project Pro on the
server, we have the same problem.
Now, the macro runs on every client PC, just not on the server. I'm
figuring that there is a setting somewhere on the server which is
stopping it from running, but I don't know what it is.
Any help would be appreciated.
Thanks,
Jim