title: Excel 2016 - Application.visible=true - Generates new instances of excel
body: <p>I've got a userform that hides the application. However, when I close the userform and set application,visible = true, the application becomes visible, but 2 new instances of excel are created that cannot be closed, other than by killing the task. On older versions of excel, this code works perfectly.</p>
  
  <p>Hope someone can help. :) </p>
  
  <pre><code>Private Sub UserForm_Activate()
  Dim rs As Worksheet
  Dim rngWA As Range
  
  
      Set rs = Worksheets("VenDetail")
      Set rngWA = rs.Range("B2:B" &amp; rs.Cells(Rows.count, "B").End(xlUp).Row + 2)
  
      With Me.ListBox1
          .ColumnCount = 1
          .ColumnWidths = "300"
          .RowSource = "VenDetail!" &amp; rngWA.Address
      End With
  
      Application.Visible = False
  
  End Sub
  Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
      Application.Visible = True
      Unload Me
  
  End Sub
  </code></pre>