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.

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...