LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default VBA does not receive Excel Events

have an Excel COM (C#) add-in. I implemented a ConnectionPoint to sync the
Workbook objects:
////////////////////
[ComVisible(true)]

[InterfaceType(ComInterfaceType.InterfaceIsIDispatc h),

GuidAttribute("00024412-0000-0000-C000-000000000046")]

public interface DExcelWorkbookEvents

{[DispId(0x00000616)]void SheetSelectionChange(object Sh, object Target);

// [DispId(0x00000130)]void Activate(); // THIS IS A COMMENT. NOT
IMPLEMENTED

}
///////////////////////////
If I create a workbook and add the VBA macro to sink the
SheetSelectionChange and Activate events, VBA will not receive the Activate
event. So I have to implement all Workbook events in my C# Addin to allow
VBA to get these events?

using Excel 2003 and Visual Studio 2003
--
EB
 
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
HELP I like to receive e-mail in Excel [email protected] Excel Discussion (Misc queries) 1 July 16th 06 04:10 PM
How to receive e-mail using Excel VBA Leonardo Excel Programming 3 May 10th 06 12:44 AM
Can I set up excel columns that receive a checkmark? Wants2Know New Users to Excel 1 March 29th 06 01:06 AM
Why do I receive OLE errors when saving an Excel file in VB? JackL Excel Programming 3 September 30th 05 07:32 PM
I receive excel files in .csv and cannot get them to open up in a. Karen Gudde Excel Discussion (Misc queries) 13 March 11th 05 12:49 AM


All times are GMT +1. The time now is 06:40 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"