roadkill said:
I have a project file that gives me a "File Not Found" message when I open it
- sometimes repeatedly. I believe it's related to Visual Basic because I
also get the message whenever I try to run a macro in this project.
Can this be corrected without reconstructing this project file?
Thanks,
Will
Will,
If it is happening on open, my guess is there is (or was) an Open Event
macro attached to this file. If there is such an event macro I would
either fix it or delete it. If you don't know for sure but have other
modules/macros attached to the file, I would use the Organizer to move
those to a new blank file. While you at it, also save any custom views,
tables, etc. Then try the following process to "clear" the file of rogue
macros.
1. Open a new blank file (not the one you saved your custom setting to)
2. Insert the problem file into the new file using Insert/Project
3. Select the insertion point in the new file and go to Task
Information/Advanced tab.
4. Uncheck the "Link to Project" button and hit "OK"
5. Use "Save As" to save the new file under whatever name you want.
Try opening the new file. It should open with no error messages. When
you feel it is working properly, then you can use the Organizer to copy
your saved modules, views, tables, etc. to the new file.
Hope this helps.
John
Project MVP