Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to find a running Excel instance and access the worksheets in it.

Hi,

I'm trying to write a small C# program to check if any Excel instance is
running, whether myexcelfile.xle has been opened in one of the running
instances, and then access the worksheets in that file. Any ideas?

Best Regards,

Gary Luo



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default How to find a running Excel instance and access the worksheets in it.

Gary.
Look in GetObject.

NickHK

"Gary Luo" wrote in message
...
Hi,

I'm trying to write a small C# program to check if any Excel instance is
running, whether myexcelfile.xle has been opened in one of the running
instances, and then access the worksheets in that file. Any ideas?

Best Regards,

Gary Luo





  #3   Report Post  
Posted to microsoft.public.excel.programming
LG LG is offline
external usenet poster
 
Posts: 6
Default How to find a running Excel instance and access the worksheets

Thank you very much Nick.
Gary

"NickHK" wrote:

Gary.
Look in GetObject.

NickHK

"Gary Luo" wrote in message
...
Hi,

I'm trying to write a small C# program to check if any Excel instance is
running, whether myexcelfile.xle has been opened in one of the running
instances, and then access the worksheets in that file. Any ideas?

Best Regards,

Gary Luo






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
my excel settings changed and i have only 1 instance running. Melissa Setting up and Configuration of Excel 1 March 28th 10 04:30 AM
Running Two Instance of Excel 2003 Simultaneously - Advice Please Dermot Excel Discussion (Misc queries) 11 February 20th 08 12:04 AM
Get info from running Excel instance Tod Excel Programming 1 August 25th 05 12:08 AM
Check for instance of EXCEL running Kevin Excel Programming 3 September 14th 04 01:03 PM
How to determine if instance of Excel is running anandmr Excel Programming 7 December 23rd 03 05:24 PM


All times are GMT +1. The time now is 08:46 AM.

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

About Us

"It's about Microsoft Excel"