This worked for me:
Code:Sub Test() Workbooks.Open Filename:="C:\Temp\BOOK1.xls" ActiveWindow.Visible = False End Sub
Sub test()
GetObject "C:\MyFile.xlsx" 'Workbook will remain invisible, no new window appears in the screen
End Sub
Sub test()
Dim wb As Workbook
Set wb = GetObject("C:\MyFile.xlsx")
Debug.Print wb.Worksheets(1).Name
wb.Close
Set wb = Nothing
End Sub
i think you would do CreateObject to open the separate instance of Excel.The second best solution is for VBA to open a separate instance of Excel (using `GetObject`), and open your workbook inside that instance.