Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Consuming excel events in C#

dansan wrote:
Hello all!

I have been trying to find documentation on how to consume events that
are generated by excel.

I have been playing around with a simple concept, to see if I can get
them to work. This is basically what I'm trying to do:

When a user clicks on a button on my windows form, the excel window is
raised. The user then goes and clicks on a cell, which triggers the
event. I can then have the address of the cell they clicked on and do
'some magic' with it then.

It seems pretty simple to me, but the solution is escaping me. I
haven't been able to find good doco for this stuff.

Thanks a ton.

Daniel.

I haven't used them myself, but I while ago I bookmarked the following
page:
http://msdn.microsoft.com/library/de...dc_oxppias.asp

It may not be exactly what you want; it is some documentation about
the Interop Assemblies that allow the unmanaged COM code (the Office
applications) to be more easily used in the .NET Framework.

Having only skimmed the document I don't know if they support the
consuming of events. I did pick up that only Office XP is supported.
IIRC, Office 2003 will be release with similar (if not better) support
for .NET.

Hope this helps,

Matthew

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Consuming excel events in C#

It may not be exactly what you want; it is some documentation about
the Interop Assemblies that allow the unmanaged COM code (the Office
applications) to be more easily used in the .NET Framework.

Having only skimmed the document I don't know if they support the
consuming of events. I did pick up that only Office XP is supported.
IIRC, Office 2003 will be release with similar (if not better) support
for .NET.

Hope this helps,

Matthew



Thank you Matthew. I have read most of that documentation, and I have
been able to implement some stuff that talks with excel. The one
thing that I can't get it to do is consume events though.

Daniel.
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
Capturing excel insert/delete events. Gaurav Nanda[_2_] Excel Worksheet Functions 1 July 10th 09 11:09 PM
Extreme, time-consuming processing GARY Excel Discussion (Misc queries) 0 February 25th 08 03:24 PM
Excel formula that counts events after a certain date? micro1330 Excel Discussion (Misc queries) 5 August 25th 05 12:23 AM
Running Excel events even in edit mode.... Ishika Excel Discussion (Misc queries) 0 June 16th 05 06:53 PM
logging excel events? John Wilson Excel Programming 0 July 13th 03 02:26 AM


All times are GMT +1. The time now is 04:51 PM.

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"