How to remove an Erronious file lock?

  • Thread starter Thread starter alondon
  • Start date Start date
A

alondon

Folks
I have managed to develop a VBA crash which has now locked me out of my own
file (i.e. when I try to open the file Excel says someone is has the file
open). I need to remove the erronious lock, but I forgot where the lock
file is located. Bummer.

Thanks,

Al London
 
Al

Excel stores in Windows\Temp(win98) folder a copy(s) of any file
that is open.

Sometimes this *.tmp file is not deleted from the Temp folder when
you close out Excel(maybe a crash of Excel?) or the file, so Excel
thinks it is still open and locked for editing.

You can try a re-boot and see if that clears it up. If not, after a
re-boot, clear out your Windows\Temp folder.

If using WinXP your Temp folder would be under user.......

Documents and Settings\User\Local Settings\Temp

If on a network, re-booting the server may be the only solution.

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top