0

Hello to everybody,

My application has some problem yesterday but I solved them but today, again it has same problem.

Excel.Worksheet sheet = (Excel.Worksheet)excelWorkbook.Worksheets.get_Item(bolge);

Excel.Range ran = (Excel.Range)sheet.Rows[satir, Type.Missing];

ran.Select();

ran.Delete(Excel.XlDirection.xlUp);

It gives an error message : Select method of range class failed.
I did not solve this problem, I am working on this much hours...
please help me...
thanks.

1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by darkocean
0

The application is runnig correctly 2 times but 3th times it shows a message this excel file is available for editing and the message box has to choosing. one of them is read/edit and other one is cancel. so it is stop my application and also I looked the sistem task manager 3 times excel.exe is working :S

please help me in this situation...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.