Word VBA: How to know if the actual save operation is completed?

Posted by Edwin on Stack Overflow See other posts from Stack Overflow or by Edwin
Published on 2009-12-21T11:40:05Z Indexed on 2010/03/09 10:21 UTC
Read the original article Hit count: 174

Filed under:
|
|

Hi,

I am having a problem with the Document.SaveAs method in Word VBA with large Word documents, it seems that the save operation is asynchronous, ie. after calling SaveAs it returns immediately, but with large Word documents the actual save operation may not has been completed and it's in progress in another thread.

So what I want to ask is that if there is a way to detect if the actual save operation is in progress or finished?

PS. I use Delphi to call the automation interface of Word, if it means something in discussing this problem, but I don't' think so?

Thank you in advance.

© Stack Overflow or respective owner

Related posts about vba

Related posts about word