Something like below:-
oExcel.workbook.CLOSE
oExcel.QUIT()
RELEASE oExcel && release the object
>Quick question related to this post.
>
>When I am done importing info from Excel using the previous code I cannot open the spreadsheet later because Excel says the file is Locked for Editing by me.
>
>How do you unlock the file so people can use the spreadsheet?
>
>I used:
>oExcel.quit()
>oExcel = .null.
>
>But neither unlocks it.
Regards N Mc Donald