Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Is it possible to prevent opening of workbooks in the current instance of Excel?
I have created a stand-alone VB program (not VBA) which utilizes the
Excel application library object to create and manipulate some workbooks. The instance of Excel launched by the VB program is not visible by default. Basicly my program only displays a textbox showing the progress of the program. However, if a user decides to open an Excel workbook by clicking on a xls file in Explorer *while the VB program is still running*, the hidden instance of Excel will immediately become visible to handle the user's workbook and thus exposing the workbooks my VB program is updating. When this happens, the user has the ability to interrupt my program's update process by clicking on or closing the workbooks or even Excel itself. Is there a way to prevent a hidden instance of Excel from opening the user workbook launched through Windows Explorer? Basically I would like the OS to launch another instance of Excel if the current instance is not visible. FYI, I am using Excel 2002 (XP) and VB6 (SP5) on Windows XP Professional. Any information would be greatly appreciated. Thanks. -jl |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Prevent multiple workbooks in same Excel instance | Excel Discussion (Misc queries) | |||
Excel opening another instance automatically | Excel Discussion (Misc queries) | |||
opening a new instance of Excel | Setting up and Configuration of Excel | |||
keep Excel from opening 2nd instance | Excel Discussion (Misc queries) | |||
Keep Excel from opening new instance | Excel Discussion (Misc queries) |