Formatting in this document is too complex

B

BAnders

Hi,

I am creating Word (2000) documents from an Access 2000 application using
VBA. After each statement that cause an Undo entry in the Undo list, I do an
Activedocument.UndoClear. Nevertheless, in some cases the Word application
request for saving of the document because of that the formatting of the
document has become too complex. I have found out the set the style (.style
=) cause the problem and I have tried to catch the error with DisplayAlerts
= false but still the message box is shown requesting for a full save.

What to do? Get the the style and loop through the style properties and set
them through code? Or, since it seems that autorecovery save solve the
problem, is there any way to force an autorecovery save?

Thanks in advance!

BAnders
 

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