Consulting

Results 1 to 2 of 2

Thread: .open command behaving different in Word 2013 vs. 2007

  1. #1

    .open command behaving different in Word 2013 vs. 2007

    I am running an .open command shown below

    Documents.Open FileName:=ThisFormWp$, ConfirmConversions:=False, ReadOnly:= _
    False, AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:= _
    "", Revert:=False, WritePasswordDocument:="", WritePasswordTemplate:="", _
    Format:=wdOpenFormatAuto

    In WORD 2007 document1 template is already open and stays opens when above command is issued.

    In WORD 2013 document1 template is already open but it closes automatically when above command is issued.

    I need to have the document1 template stay open when command is fired.

    Any help would be greatly appreciated.

  2. #2
    While we don't know what ThisFormWp$ is, opening a document using your code shouldn't close any already open document and doesn't here in any Word version including Word 2013
    Graham Mayor - MS MVP (Word) 2002-2019
    Visit my web site for more programming tips and ready made processes
    http://www.gmayor.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •