ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   UserControl (https://www.excelbanter.com/excel-programming/420155-usercontrol.html)

Brent

UserControl
 
I think I'm going a bid mad.

I've acquired an Excel Application and Opened a Workbook within it (from C#).

I then execute the code

xlApp.Visible = true ;
xlApp.UserControl = true ;

The correct workbook displays for about 3-5 seconds, then closes. For the
life of me, I can't understand why.

Desperately, anyone have any suggestions ?



All times are GMT +1. The time now is 12:18 PM.

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