Perso.xls is locked for editing

stf -  
 Nathelle -
Hi...
I placed a personal macro in perso.xls with a button on my toolbar so that I can perform certain tasks.

Now, when I open an Excel document located on my network, Excel shows me a dialog box saying that "Perso.xls is locked for editing by stf" and I have the choice between "Read-Only", "Notify", or "Cancel".

The document I'm trying to open has nothing to do with the certain tasks mentioned above, and even less with my personal macro.

If I click on one of the three buttons above, I can open the desired document.

My questions are simple:

Why does Excel give me this alert?
How can I fix it while keeping my macro in perso.xls?

Thank you for shedding light on this little problem...
Have an excellent weekend everyone!

stf

6 réponses

yoyoton
 
You simply need to set the properties of the file perso.xls to read-only to no longer receive this message. If you need to modify perso.xls (which normally doesn't happen every day!), uncheck this option in the file properties while making the modification.

The steps to follow are to go to the directory of perso.xls, in the context menu, select properties, and then check Read-Only.
13
Nathelle
 

Thank youuuu! You've just saved my life! Hahaha

0