WD: "There is not enough memory..." Opening RTF or WordMail File |
Q137158
Word may return the following error message when attempting to open a Rich Text Format (RTF) file or an email message from Exchange Client using WordMail:
There is not enough memory to complete the operation.
Word retains revisions for all open documents in memory using a global
revision table. A problem currently exists in rare instances where Word
writes the revision tables of more than one open document to a single
document when saving as RTF. If the revision table for that document grows
larger than the 64 kilobyte (KB) revision table maximum supported by the
RTF reader in Word, Word cannot reopen the file.
This problem can also occur when reading e-mail messages opened from
Exchange using WordMail because this transfer is also based on RTF.
This problem most commonly occurs when running Word in a network
environment where a large number of documents may be open at one time.
http://www.microsoft.com/partner/referral/For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://support.microsoft.com/directory/overview.asp
Sub MAIN
msg$ = "This macro will delete the revision history table "
msg$ = msg$ + "from an RTF file. To do this, you must first "
msg$ = msg$ + "Open the RTF file As Text. After the macro has "
msg$ = msg$ + "run, just Save the file and Close. "
msg$ = msg$ + "Click OK to run the macro."
dothis = MsgBox(msg$, " Delete REVTBL ", 305)
If dothis = - 1 Then
StartOfDocument
EditFind .Find = "{\*\revtbl"
If EditFindFound() = 0 Then
MsgBox "No RevTbl Found"
Else
CharRight 1
EditFind .Find = "}"
CharRight 1
mystart = GetSelStartPos()
CharLeft 1
EditFind .Find = "}}"
CharLeft 1
CharRight 1
myend = GetSelEndPos()
If myend - mystart < 100 Then
MsgBox "RevTbl already trimmed"
Else
SetSelRange mystart, myend
EditClear
MsgBox "RevTbl successfully trimmed"
EndIf
EndIf
EndIf
End Sub Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Word 97 for Windows and Microsoft Word 98 Macintosh Edition.
The revision table in an RTF file header can be viewed by Turning on the Confirm Conversions option, open an RTF file as Text Only, and searching for the string "\revtbl" to identify the starting point of the revision table. If a revision table contains names of authors who never actually edited the document, then the above problem has occurred.
Additional query words: rich text format grows expands increases significantly increments added entire history explodes Err=1016 revtbl convert converted converts converting conversion transfer transferred transfers transferring translate translated translates translating translation wpft5 word perfect
Keywords : kberrmsg kbinterop kbmacro kbnetwork kbmacroexample
Issue type : kbbug
Technology : kbWordSearch kbWordWSearch kbWordMSearch
|
Last Reviewed: December 29, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |