MS Project 2003 file's CLS object is corrupt.

R

RTucker

When I launch VBA (ALT-F11), my activeproject.mpp file causes a "Visual Basic
- File Not Found" error 3-5 times. The activeproject.mpp does not appear in
the VBA frame. I cannot record macros to the file, either. The Global.mpt
and other mpp files appear in the folder frame with no errors, and I can
create and move forms and modules around w/o errors. I've deleted all
utilities and reinstalled Project. The problem is clearly in the schedule
file.

Is there a utility or procedure to recreate/recover the class within an MPP
file?
 
R

RTucker

Correction: The corrupt mpp file will not display in the VBA Project
Explorer window. As a result, when a record or run a macro, VBA does not
find the mpp file, which results in the "File not found" error from Visual
Basic.

RT
 
R

Rod Gill

If you can see the code eventually, save it to a .bas or .txt file. Then
save your Project to .mpd file forma or .xml then close, re-open and save
back to .mpp This may well lose the corruption in the process.

Import your VBA code back again and you may be right from then on.
 

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