Ask a Question

Excel file is blocked

ḥari
Frequent Contributor

Excel file is blocked

Hi Team,
I have accessing datas from excel but suddenly I am getting error as "excel internal error 'element nit round" And "access to the excel file is blocked, possible because it is open in excel" But excel is closed.
Previously it's executed fine only suddenly it happens for current script which I am working.
May I know the possibility for this error?
16 REPLIES 16
rraghvani
Champion Level 3

There's most likely an instance of Excel running which is not visible - use Task Manager and kill the application.

ḥari
Frequent Contributor

@rraghvani cleared everything but still same issue
rraghvani
Champion Level 3

How are you opening and closing Excel?

ḥari
Frequent Contributor

I didn't open or close excel through script I just fetching datas from excel
rraghvani
Champion Level 3

How are you fetching the data?

rraghvani
Champion Level 3

Try and be more specific please. Are you using Excel object, DDTDriver object ?

ḥari
Frequent Contributor

Excel objects only... It suddenly happened from yesterday onwards it's taking excel datas in between this error coming.
rraghvani
Champion Level 3

You are better off using Excel.Application COM object, as this will use the current version of Excel - providing you have it installed.

 

If you can provide code, which the error always occurs. Then I can try and diagnose the issue for you.

cancel
Showing results for 
Search instead for 
Did you mean: