"This document cannot be closed because it is referenced by an open VBA
project. You should close the project that references this document
before closing this document."
Any ideas?
TIA.
Gary S. Best
g...@CompuPick.com
Best Enterprises
- MS Office Automation.
- Custom Database Applications.
- Dynamic Web Content.
"Programming done right the first time."
Sent via Deja.com http://www.deja.com/
Before you buy.
Regards
Dave
Best Enterprises <g...@CompuPick.com> wrote in message
news:82p7rl$l5v$1...@nnrp1.deja.com...
> One of my clients is getting a sporadic error message when trying to
> close a document created with a template that uses some simple VBA code:
>
> "This document cannot be closed because it is referenced by an open VBA
> project. You should close the project that references this document
> before closing this document."
>
> Any ideas?
Causes:
1: Virus.
2: There's actually an open VBA project.
3: There _was_ an open VBA project but it crashed.
Which left the 'reference' active.
Possible solutions:
1: Get a virus checker.
2:
- Reboot. Do NOT open word yet.
- Remove junk files from the 'temp' directory.
- Remove junk files from the (working) directories.
Especially the hidden ~$*.* files
Greetings from
_____
/_|__| Auke Reitsma, Delft, The Netherlands.
/ | \ -------------------------------------
Remove NO_SPAM_ from my address ...
Auke Reitsma wrote:
--
http://home.earthlink.net/~peregrine/