Compiling Word 2003 causes locked modules in Word 97 - Please help.

Compiling Word 2003 causes locked modules in Word 97 - Please help.

Post by charlie606 » Thu, 15 Jul 2004 12:27:21


My department supports a couple hundred templates that were created in
Word 97 but now need code added to work in Word 2003 in addition to
97. I made the mistake of compiling a Word 97 template in Word 2003
and now can not open the modules without getting the Project Locked or
not viewable error messages. For now, I need to be able to continue
editing the VBA in Word 97. Is there anything I can do in Word 2003 to
reset the template so I can open the modules back in Word 97 again.
This would save a lot of extra work.

Thanks,
Charlie
XXXX@XXXXX.COM
 
 
 

Compiling Word 2003 causes locked modules in Word 97 - Please help.

Post by Jonathan W » Thu, 15 Jul 2004 20:42:27

Hi Charlie

try the following

- Open the template in 2003
- Open the VBA editor.
- Remove any password protection from the project if you have a password
- Remove any digital certificate from the project if you have a certificate
- Make some trivial change to the code
- Save & close the template without attempting to run the code

Then try opening the template in Word 97.

I'd be interested to know if this works, so do please post back with the
results.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

 
 
 

Compiling Word 2003 causes locked modules in Word 97 - Please help.

Post by charlie606 » Fri, 16 Jul 2004 05:09:31

Jonathan - Your procedure worked perfectly. Thank you for saving me
hours of time. There are probably dozens of past posts about locked
projects but none had the solution you gave. Thank you very
much!!!!!!!!
Charlie