Error: file is locked after using Cells.DeleteRow(x)


#1

Ver 1.8.5.2
if i put : Cells.DeleteRow(16);
and then : excel.Save(“report.xls”, SaveType.OpenInBrowser, FileFormatType.Default, this.Response);

msg error: report.xls is locked for editing
that means file is in use
can you help me?

Thanks


#2

Which version are you using?


#3

If you removed Cells.DeleteRow(x), did it work fine?
If yes, could you send me an email? I will send you an internal fix for this issue.


#4

it worked fine.
please send me the fix version to mrtuanvn@yahoo.com
thanks


#5

I have sent it to you. Please have a try.


#6

Really a strange problem. It works all fine in my machine. Could you post more code here? Or you can send it to me by email. If you use a designer file(template), please also send it to me.

Thanks for your cooperation.