Template causes Word to Crash--Recompiling fixes problem

T

theLuggage

We have a fairly sophisticated MS Word template.

The last version that we sent to our users gave us a real surprise.

Many of our users had Word crash when they opened a document that was based
off the Template. Word would give the error that reads something like
"couldn't read memory at location xxxxxx to yyyyyyy". It would also crash
with the same error when they created new documents based off the template.

To fix it, we went to their PC, opened the template, compiled the template,
then saved the template. Word worked fine after that.

Can anyone offer any general troubleshooting techniques? I don't even know
where to begin on what could be causing this.

Thanks in advance for the help!
 
T

theLuggage

I should add that we always start with a clean template. In other words, we
wrote code that will export all the modules, class files, and user forms from
the template. We run that. Then we create a brand new template file. Then
we run code that imports all the modules into this newly created template
file. So I'm fairly certain this is not the usual "run the code cleaner
template" kind of problem. In effect, we have our own "code cleaner".
 

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