Style Pane causes template/Word to crash

V

Vivian Carroll

I created a procedure template in Word XP. Everything was working
fine--until I just happened to try to close the template when the Styles and
Formatting Task Pane was open--then I got the message "Microsoft Word has
encountered a problem and has to close.....".

After much testing, I have found that Word encounters this problem whenever
the template itself is being closed or a document from the template is being
closed--but *only* when the Styles and Formatting Task Pane is open. There
is no problem closing the template or document when the New Document Task
Pane or the Reveal Formatting Task Pane or no task pane is open.

As far as I know, the template works entirely as planned except for the
above problem--but I can't tell users to be sure to close the Styles and
Formatting Task Pane before closing their documents! Them template does
contain many styles. It also has AutoOpen, AutoNew, and AutoClose macros. I
disabled the AutoClose macro but still had the problem.

Is this a known problem? Is my template corrupt in some fixable way?

TIA,
Vivian Carroll
 
V

Vivian Carroll

The template now works, but I'm not sure why. Here's what I did.

I was trying to learn all the detailed ins and outs of the Styles and
Formatting Task Pane, and in so doing discovered that my template had 6
extra styles that came from who knows where. Before deleting them, I made a
copy of the template called "Before deleting extra styles" - that template
has the problem described below.

I then deleted the 6 extra styles and explored the Styles Pane again. I just
happened to check whether the below problem still existed and voila! gone!
(But before I realized it was gone, I had played with REM'ing out my Auto
macros to see if they were the problem - then I realized I no longer had the
problem and un-REM'd them all.)

So, I decided that the problem had been in one or more of the unnecessary
styles. So I set about deleting one of those 6 styles at a time from the
original bad template -- and the template stayed bad (i.e., had the problem
below) even when all of the 6 styles had been deleted. So the problem wasn't
those 6 styles afterall.

Any idea of what I did that fixed the problem?

Vivian
 

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