"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.
"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
Jezebel - 28 Mar 2006 22:56 GMT
'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.
> "Jezebel" skrev:
>
[quoted text clipped - 28 lines]
>
> BAnders
BAnders - 29 Mar 2006 08:47 GMT
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:
> '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
[quoted text clipped - 33 lines]
> >
> > BAnders
Jezebel - 29 Mar 2006 09:31 GMT
You shouldn't be using the Selection at all. Do everything with Range
objects.
> 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
[quoted text clipped - 52 lines]
>> >
>> > BAnders