F
Frank Perry
Howdy,
I need to call UndoClear periodically during a process. The problem is that
the process runs for hours and Word grows to 300+ Megs and crashes before the
process finishes. Alas, I don't control what goes on in the process so I
have to find a way to clear the undo stack periodically.
I found that the Save() function is called by the background save. I can
intercept the save and make it clear the stack. How do I get my Save to
save? I tried:
Public Sub Save()
ActiveDocument.UndoClear
Application.ActiveDocument.Save
End Sub
But the save just calls itself. How do I get to the original Save?
Thanks for any help.
I need to call UndoClear periodically during a process. The problem is that
the process runs for hours and Word grows to 300+ Megs and crashes before the
process finishes. Alas, I don't control what goes on in the process so I
have to find a way to clear the undo stack periodically.
I found that the Save() function is called by the background save. I can
intercept the save and make it clear the stack. How do I get my Save to
save? I tried:
Public Sub Save()
ActiveDocument.UndoClear
Application.ActiveDocument.Save
End Sub
But the save just calls itself. How do I get to the original Save?
Thanks for any help.