AutoRecovery Save

B

BAnders

Hi,

Is it possible to directly do an AutoRecovery save in VBA? It seems that the
temporary file Word uses for changes becomes full before the autorecovery
save time interval as occued.

I use Word 2000.

Thanks in advance!

BAnders
 
J

Jezebel

"temporary file Word uses for changes becomes full " just makes no sense.
Unless you're hitting 32MB (NOT including graphics!) ....

It might be better if you described the symptoms of the problem.
 
B

BAnders

"Jezebel" skrev:
"temporary file Word uses for changes becomes full " just makes no sense.
Unless you're hitting 32MB (NOT including graphics!) ....

It might be better if you described the symptoms of the problem.

What ever I do the message: "The formatting in this document is too complex.
Please full save the document now.".

It happens while I create a document by adding text and formatting the text
as well using VBA. The document saved is just 153 kb. After every instuction
that cause an undo entry I do an UndoClear. I have also set
options.SaveInterval = 0. The message above comes after selection.style=
statement and the style used exists.

Earlier I had the message because of that I didn't do UndoClear often
enough. now I do. There is nothing in that list when the message above is
shown.

I have also tried to use the DisplayAlerts = wdAlertsNone for to catch the
error, and still the message is shown as msgbox.

There is an error report for Word 2002 but I haven't seen anyone for 2000.
Ia m running Office 2000 Premium with SP3.

Please, any idea about what the message can imply is wrong!

BAnders
 
J

Jezebel

'Formatting too complex' has nothing to do with the 'fullness' of the temp
document; and as you've discovered, doing frequent UndoClear doesn't help
either. As previously posted, the only workaround I've found is to save,
close, and re-open the document.
 
B

BAnders

Yes, it seems to be what you say. I have found that a lots of doevents
decrease the number of times it happens. It might has something to do with
queueing up formatting requests. It might also works better to not format a
selection with a style. If each property of the style is set individual it
also decrease.

Many thanks

BAnders

"Jezebel" skrev:
 

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