Project Unviewable

T

Thomas M

Word 2000

Recently, I have been getting a lot of errors in the VB editor that state
something along the lines of "Project is unviewable." If I simply close
the document and re-open it, I can get back into the project. This
happens 4 or 5 times a day, and it's REALLY annoying. What causes this,
and how can I fix it for good?

--Tom
 
W

Word Heretic

G'day Thomas M <[email protected]>,

Clean your code immediately. Google on the Payne Office VBA Code
Cleaner or use the MVP version, not as good.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Thomas M reckoned:
 
T

Thomas M

Steve,

Thanks for the reply.

I've been having several problems with the project lately (I've been
getting run-time errors 91 and 4608 for no apparent reason in code that
has been working for months), and I now think that the project (or at
least the ThisDocument module) has become corrupted. I searched for the
Payne VBA Code Cleaner, but the Payne site just links to the MVP page, so
it looks like the Payne version and the MVP version are one in the same.
I did run the code cleaner, but it didn't solve the run-time errors. Not
sure yet if it fixed the "project unviewable" problem.

--Tom
 
W

Word Heretic

G'day Thomas M <[email protected]>,

The project unviewable probably means you should load the template
explicitly. Eg, I am debugging MyGlobal.

I close Word. I open MyGlobal. I open my target document and attempt
to run the macro magic. Code kersplats now debug as MyGlobal is open
and we can thus see the offending module.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Thomas M reckoned:
 

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

Similar Threads


Top