Application.Documents.Count > 1 RRS feed

  • Question

  • Moving thread to this forum in hope of more knowledge.

    I have a program which synchronously opens Word and waits for it to close to grab the modified document. I have found via macros how to handle each document open/new event and force that new document to open in its own Application object except one workflow. The problem is while I have my document open and I decide I need another document and open another one via Start>Word, then this fires no events that I see, resulting in an Application.Document.Count > 1 state which I cannot work with.

    Is there an event that I am overlooking for this workflow to handle the new document being created? Or is there another way to handle this completely that I am missing? I tried looking to see if I could make the currently running application a single document Application, but that led to no results.

    Wednesday, February 13, 2013 2:04 PM


All replies