are you getting the same error everytime you test it..?
are you sure you are not touching any place on the Excel file while it's working..?