ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   C# and Excel (https://www.excelbanter.com/excel-programming/349300-c-excel.html)

ojv[_2_]

C# and Excel
 
Runnig Windows XP and have a reference to Excel 10 in C#. Have modified the
Interop.Excel.dll to handle excel events in C# using KB article 316653. After
making the "_SinkHelper" classes public I have the following problem:
Starting Excel from C# the application area of Excel showing the worksheet
itself is transparent and it is not possible to see any part of a worksheet.
Starting excel the normal way everything looks fine.
What has happened? Do I need to make any additional settings?

Any help appreciated.

Peter T

C# and Excel
 
When you start Excel with automation a new default workbook is not added
(nor are any addins loaded nor any files from the XLstart folder such as
Personal). So add a new workbook.

Regards,
Peter T

"ojv" wrote in message
...
Runnig Windows XP and have a reference to Excel 10 in C#. Have modified

the
Interop.Excel.dll to handle excel events in C# using KB article 316653.

After
making the "_SinkHelper" classes public I have the following problem:
Starting Excel from C# the application area of Excel showing the worksheet
itself is transparent and it is not possible to see any part of a

worksheet.
Starting excel the normal way everything looks fine.
What has happened? Do I need to make any additional settings?

Any help appreciated.




ojv[_2_]

C# and Excel
 
So simple. Thx.

"Peter T" wrote:

When you start Excel with automation a new default workbook is not added
(nor are any addins loaded nor any files from the XLstart folder such as
Personal). So add a new workbook.

Regards,
Peter T

"ojv" wrote in message
...
Runnig Windows XP and have a reference to Excel 10 in C#. Have modified

the
Interop.Excel.dll to handle excel events in C# using KB article 316653.

After
making the "_SinkHelper" classes public I have the following problem:
Starting Excel from C# the application area of Excel showing the worksheet
itself is transparent and it is not possible to see any part of a

worksheet.
Starting excel the normal way everything looks fine.
What has happened? Do I need to make any additional settings?

Any help appreciated.






All times are GMT +1. The time now is 07:35 PM.

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