ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Preventing Excel opened through webbrowser "taking over" other instances of Excel (https://www.excelbanter.com/excel-programming/297288-preventing-excel-opened-through-webbrowser-taking-over-other-instances-excel.html)

Samuel Jack

Preventing Excel opened through webbrowser "taking over" other instances of Excel
 
I'm using the WebBrowser control in a Windows form to display an Excel spreadsheet. Most of the time this seems to work quite well. However, when I have opened Excel independantly of my application that instance of Excel gets "taken over" when I open my application and display the Excel sheet.

By "taken over", I mean that I can no longer interact with the instance of Excel that I opened idependently of Excel

Does anyone know a way of preventing this from happening?

AA2e72E[_2_]

Preventing Excel opened through webbrowser "taking over" other instances of Excel
 
It would appear that Application.Interactive has been set to FALSE; you need to set it to TRUE.


All times are GMT +1. The time now is 02:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com