Re: Revisions, track changes:
- From: Cindy M -WordMVP- <C.Meister-C@xxxxxxxxxx>
- Date: Sat, 13 Aug 2005 12:05:49 +0200
Hi =?Utf-8?B?VFJN?=,
I think I read somewhere that this may be causing a memory leak. Might be
worthwhile to open a support incident with Microsoft.
Other than that, I can only suggest that you save on a regular basis (every 10,
50 or n loops) to try to avoid stuff "accumulating" that may be preventing the
successful save.
> Here is a snippet of code I have which is supposed to go through a document
> (with track changes turned on) and check for any deletions, then accept them.
>
>
> Dim oRvs As Object
> For Each oRvs In oDoc.Revisions 'oApp.ActiveDocument.Revisions
> If oRvs.type = wdRevisionDelete Then
> oRvs.Accept
> End If
> Next
>
> Now, it does seem to do this, however, occasionally a document will get
> "hung up" in the loop - or an error message "disk is full" occurs on the
> document when it is closed/saved.
>
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
.
- References:
- Revisions, track changes:
- From: TRM
- Revisions, track changes:
- Prev by Date: about variables and subs
- Next by Date: Re: How can I Maximize Task Pane?
- Previous by thread: Revisions, track changes:
- Next by thread: How can I Maximize Task Pane?
- Index(es):
Relevant Pages
|