Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2006

Tip: Looking for answers? Try searching our database.

AutoRecovery Save

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BAnders - 28 Mar 2006 08:36 GMT
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
Jezebel - 28 Mar 2006 09:48 GMT
"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.

> Hi,
>
[quoted text clipped - 8 lines]
>
> BAnders
BAnders - 28 Mar 2006 15:35 GMT
"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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.