ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Creating a popup via dll in excel (https://www.excelbanter.com/excel-programming/319547-creating-popup-via-dll-excel.html)

Andreas Martin

Creating a popup via dll in excel
 
Hi all,

I try to generate a popup, when double click a cell.
The VBA code is executed correctly. The VBA code calls a function of my DLL.
All works fine, but the problem is the popup itself. I have to register my
own window call with an instance. The instance I got by LibMain causes bad
behaviour on excel: After closing the popup excel crashes.
I tried this with a simple Dialog (MessageBox) in my dll code, and the
behaviour is the same... So it's not my popup routine...
In addition it is possible to select cells while popup is open, but that
shouldn't!

Any suggestions?


Kindly regards,
Andreas Martin




All times are GMT +1. The time now is 03:59 AM.

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