Thread: UserControl
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Brent Brent is offline
external usenet poster
 
Posts: 109
Default 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 ?