#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Program

Hi all,

Is there a way to prohibit another excel file opening up in the same window
as the program that I have created?

Jason
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Program

Nope... Having multiple instances of Excel running is problematic anyways. My
recommendation would be to figure out how to do whatever you want to do in
one instances.
--
HTH...

Jim Thomlinson


"Jason Zischke" wrote:

Hi all,

Is there a way to prohibit another excel file opening up in the same window
as the program that I have created?

Jason

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Program

Jason,
If you use Application Level Events you can trigger code that runs when a WB
is opened.
However it has no cancel, so would have react after it is open.

See www.cpearson.com/excel/AppEvent.htm

NickHK

"Jason Zischke" wrote in message
...
Hi all,

Is there a way to prohibit another excel file opening up in the same

window
as the program that I have created?

Jason



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Program


Application.IgnoreRemoteRequests = True
will prevent other files from being opened when you double-click them in
Windows Explorer, if that's what you mean.


Regards,
Vic Eldridge


"Jason Zischke" wrote:

Hi all,

Is there a way to prohibit another excel file opening up in the same window
as the program that I have created?

Jason

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-In Program NoodNutt Excel Worksheet Functions 1 August 30th 08 06:59 AM
Is there a way to unload the loaded XLL file in Excel? Hi all, I amdebugging XLL link library using Visual C++. Everytime I rebuild the XLL, Ihave to close the whole Excel program and relaunch the Excel program again,and then load in the newly gene LunaMoon Excel Discussion (Misc queries) 0 July 28th 08 11:03 PM
Which program? Dear Sir Excel Discussion (Misc queries) 4 January 14th 07 07:27 PM
merging excel program with tdc finance program judy Excel Programming 0 November 5th 03 08:01 PM
run program Van daal Excel Programming 1 September 12th 03 04:50 PM


All times are GMT +1. The time now is 11:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"