ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can Excel 97 be controlled from VB.NET (https://www.excelbanter.com/excel-programming/335134-can-excel-97-controlled-vbulletin-net.html)

Nick Dreyer

Can Excel 97 be controlled from VB.NET
 
I have discovered that Excel 97 VBA does not support the IDTExtensibility2
interface. But passing "Me" as a parameter from Excel 97 VBA as an
Excel.Application to a COM Add-in created from VB.NET, I have been able to
give control of the calling instance of Excel 97 to the VB.NET project.

I have only very superficially tested this out by viewing the contents of
objects in debug-mode and dumping out some values in MsgBoxes, so if anyone
can save me trouble pursuing this approach if is destined to lead to failure,
I would be greatly appreciative of it for saving me a lot of wasted time
experimenting around.

Thanks in advance


|\|.

Rob Bovey

Can Excel 97 be controlled from VB.NET
 

See my answer to your other post.

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm

"Nick Dreyer" wrote in message
...
I have discovered that Excel 97 VBA does not support the IDTExtensibility2
interface. But passing "Me" as a parameter from Excel 97 VBA as an
Excel.Application to a COM Add-in created from VB.NET, I have been able to
give control of the calling instance of Excel 97 to the VB.NET project.

I have only very superficially tested this out by viewing the contents of
objects in debug-mode and dumping out some values in MsgBoxes, so if
anyone
can save me trouble pursuing this approach if is destined to lead to
failure,
I would be greatly appreciative of it for saving me a lot of wasted time
experimenting around.

Thanks in advance


|\|.





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com