Missing Reference Problem

J

J Baird

I made a file in MSP 2002, and added a "Project_Open" macro to the
"ThisProject" VBProject, and saved the file. The Project_Open macro works
perfectly when I open the file in MSP 2002.

When I open the file in MSP 2000 (on a machine that doesn't have MSP 2002 on
it), the Project_Open macro doesn't run, becuase the MSP 10 Object library
isn't in MSP 2000. The [Tools][Refences] box shows that the "Microsoft
Project 10.0 Object Library" is "Missing", and the "Microsoft Project 9.0
Object Library" is unchecked.

I can't uncheck the MSP 10 library, and MSP won't let me check the MSP 9
library box when MSP 10 is already checked. How do I change the reference
for this file? I've solved this problem before, by deleting the modules,
but I can't delete the "ThisProject" VBProject.
 
J

Jack D.

J said:
I made a file in MSP 2002, and added a "Project_Open" macro to the
"ThisProject" VBProject, and saved the file. The Project_Open macro works
perfectly when I open the file in MSP 2002.

When I open the file in MSP 2000 (on a machine that doesn't have MSP 2002
on it), the Project_Open macro doesn't run, becuase the MSP 10 Object
library isn't in MSP 2000. The [Tools][Refences] box shows that the
"Microsoft Project 10.0 Object Library" is "Missing", and the "Microsoft
Project 9.0 Object Library" is unchecked.

I can't uncheck the MSP 10 library, and MSP won't let me check the MSP 9
library box when MSP 10 is already checked. How do I change the reference
for this file? I've solved this problem before, by deleting the modules,
but I can't delete the "ThisProject" VBProject.

J.

Export the module or cut and paste to a text file somewhere.
Open a new file in Project 2000.
Paste in the code.
Then paste in the tasks from the old file etc.



--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP


+++++++++++++++++++
 
J

J Baird

I can't just make a new file, and paste in the tasks. The file won't be the
same. There is a lot of other information in this file. There are
assignments with countouring, numerous outline code lookup tables,
customized fields, resources with all kinds of specialized settings, etc..
Deleteing the "ThisProject" VBProject object seems to be impossible, and a
bad idea too - this isn't a module.

I thought MSP 2000 and MSP 2002 were supposed to be compatable.

Jack D. said:
J said:
I made a file in MSP 2002, and added a "Project_Open" macro to the
"ThisProject" VBProject, and saved the file. The Project_Open macro works
perfectly when I open the file in MSP 2002.

When I open the file in MSP 2000 (on a machine that doesn't have MSP 2002
on it), the Project_Open macro doesn't run, becuase the MSP 10 Object
library isn't in MSP 2000. The [Tools][Refences] box shows that the
"Microsoft Project 10.0 Object Library" is "Missing", and the "Microsoft
Project 9.0 Object Library" is unchecked.

I can't uncheck the MSP 10 library, and MSP won't let me check the MSP 9
library box when MSP 10 is already checked. How do I change the reference
for this file? I've solved this problem before, by deleting the modules,
but I can't delete the "ThisProject" VBProject.

J.

Export the module or cut and paste to a text file somewhere.
Open a new file in Project 2000.
Paste in the code.
Then paste in the tasks from the old file etc.



--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP


+++++++++++++++++++
 
J

Jack D.

J said:
I can't just make a new file, and paste in the tasks. The file won't be
the same. There is a lot of other information in this file. There are
assignments with countouring, numerous outline code lookup tables,
customized fields, resources with all kinds of specialized settings, etc..
Deleteing the "ThisProject" VBProject object seems to be impossible, and a
bad idea too - this isn't a module.

Did you try just deleting the code in "ThisProject"?

--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP


+++++++++++++++++++
 
J

J Baird

Yeah, over the last few days, I tried deleting the code,
saving/closing/closing MSP/reopening/performing save as, etc.., but nonthing
didn't make any difference. The VBProject "ThisProject" still references
the "Missing: Microsoft Project 10.0 Object Library".

so I was hoping that someone in the newsgroup had an answer on how to fix
this. "
 
J

J Baird

I'm still having this problem. Anyone have any ideas on how to solve it?

********************
I made a file in MSP 2002, and added a "Project_Open" macro to the
"ThisProject" VBProject, and saved the file. The Project_Open macro works
perfectly when I open the file in MSP 2002.

When I open the file in MSP 2000 (on a machine that doesn't have MSP 2002 on
it), the Project_Open macro doesn't run, becuase the MSP 10 Object library
isn't in MSP 2000. The [Tools][Refences] box shows that the "Microsoft
Project 10.0 Object Library" is "Missing", and the "Microsoft Project 9.0
Object Library" is unchecked.

I can't uncheck the MSP 10 library, and MSP won't let me check the MSP 9
library box when MSP 10 is already checked. How do I change the reference
for this file? I've solved this problem before, by deleting the modules,
but I can't delete the "ThisProject" VBProject.

I tried deleting the code, saving/closing/closing MSP/reopening/performing
save as, etc.., but nonthing
didn't make any difference. The VBProject "ThisProject" still references
the "Missing: Microsoft Project 10.0 Object Library".
*************************************
 
J

Jack D.

J said:
I'm still having this problem. Anyone have any ideas on how to solve it?

********************
I made a file in MSP 2002, and added a "Project_Open" macro to the
"ThisProject" VBProject, and saved the file. The Project_Open macro works
perfectly when I open the file in MSP 2002.

When I open the file in MSP 2000 (on a machine that doesn't have MSP 2002
on it), the Project_Open macro doesn't run, becuase the MSP 10 Object
library isn't in MSP 2000. The [Tools][Refences] box shows that the
"Microsoft Project 10.0 Object Library" is "Missing", and the "Microsoft
Project 9.0 Object Library" is unchecked.

I can't uncheck the MSP 10 library, and MSP won't let me check the MSP 9
library box when MSP 10 is already checked. How do I change the reference
for this file? I've solved this problem before, by deleting the modules,
but I can't delete the "ThisProject" VBProject.

I tried deleting the code, saving/closing/closing MSP/reopening/performing
save as, etc.., but nonthing
didn't make any difference. The VBProject "ThisProject" still references
the "Missing: Microsoft Project 10.0 Object Library".
*************************************

I think that I told you that the solution is to:
Open your project in project 2000 and copy all the tasks to a new blank
project.
Go to the visual basic editor and create a new module.
Paste the code into the new macro.

Beyond that you have tried just about everything else.

--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP
email: J -at- eM Vee Pee S dot COM


+++++++++++++++++++
 
J

J Baird

As I said before, I can't just make a new file, and paste in the tasks. The
outcome won't be the
same data. There is a lot of other information in this file. There are
assignments with countouring, numerous outline code lookup tables,
customized fields, resources with all kinds of specialized settings, etc..
Deleteing the "ThisProject" VBProject object seems to be impossible, and a
bad idea too - this isn't a module.

I reposted, to see if anyone has a way to solve this.

Jack D. said:
J said:
I'm still having this problem. Anyone have any ideas on how to solve it?

********************
I made a file in MSP 2002, and added a "Project_Open" macro to the
"ThisProject" VBProject, and saved the file. The Project_Open macro works
perfectly when I open the file in MSP 2002.

When I open the file in MSP 2000 (on a machine that doesn't have MSP 2002
on it), the Project_Open macro doesn't run, becuase the MSP 10 Object
library isn't in MSP 2000. The [Tools][Refences] box shows that the
"Microsoft Project 10.0 Object Library" is "Missing", and the "Microsoft
Project 9.0 Object Library" is unchecked.

I can't uncheck the MSP 10 library, and MSP won't let me check the MSP 9
library box when MSP 10 is already checked. How do I change the reference
for this file? I've solved this problem before, by deleting the modules,
but I can't delete the "ThisProject" VBProject.

I tried deleting the code, saving/closing/closing MSP/reopening/performing
save as, etc.., but nonthing
didn't make any difference. The VBProject "ThisProject" still references
the "Missing: Microsoft Project 10.0 Object Library".
*************************************

I think that I told you that the solution is to:
Open your project in project 2000 and copy all the tasks to a new blank
project.
Go to the visual basic editor and create a new module.
Paste the code into the new macro.

Beyond that you have tried just about everything else.

--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP
email: J -at- eM Vee Pee S dot COM


+++++++++++++++++++
 
J

Jack D.

J said:
As I said before, I can't just make a new file, and paste in the tasks.
The outcome won't be the
same data. There is a lot of other information in this file. There are
assignments with countouring, numerous outline code lookup tables,
customized fields, resources with all kinds of specialized settings, etc..
Deleteing the "ThisProject" VBProject object seems to be impossible, and a
bad idea too - this isn't a module.

I reposted, to see if anyone has a way to solve this.

Pasting the tasks should preserve the contouring.
Outline code lookup tables can be imported and exported.
Custom fields can be migrated using the organizer.

As for the rest, try and keep it simple.

However, noting that you are trying to delete "ThisProject" there may be
some hope. Did you try opening it in proj 2000 and cutting out the code? You
don't delete ThisProject because it really is the project, but you can
delete the code in it.
Then save and close and try again.
--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP
email: J -at- eM Vee Pee S dot COM


+++++++++++++++++++
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top