locked
word 2013 automation documents.open() replaces existing blank document RRS feed

  • Question

  • I'm using Word automation with Word 2013. I have created a blank document using documents.add(). If I then open an existing file using documents.open(), instead of having 2 documents, I only have the opened document in the documents collection. In Word 2010, I had 2 open documents, I could close the existing document and continue to use the initial blank document. 

    Is there a way of maintaining the previous behaviour?

    Monday, November 3, 2014 2:13 PM

Answers

  • Hi,

    If you are using a macro, it's better to post the question in Word for Developers forum to get proper support:

    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Regards,

    Melon Chen
    TechNet Community Support


    It's recommended to download and install Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office programs.

    Tuesday, November 4, 2014 1:22 AM

All replies

  • Can you post your macro here so we can try to simulate the situation? sounds like an mdi choice (multiple document interface).

    Maurice

    Monday, November 3, 2014 6:04 PM
  • Hi,

    If you are using a macro, it's better to post the question in Word for Developers forum to get proper support:

    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Regards,

    Melon Chen
    TechNet Community Support


    It's recommended to download and install Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office programs.

    Tuesday, November 4, 2014 1:22 AM