A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
If Excel suddenly will not let cells be dragged or edited, the file may be locked because Excel thinks it is already open, another user has it open, or a previous crash left a temporary lock.
Try these steps in order:
- Close the workbook on all devices where it might be open.
- If the file is open on another PC, Mac, or Excel for the web session, close it there too.
- Wait a few minutes and try again.
- Excel and the server can take a short time to release a file lock.
- Restart Excel, then restart Windows.
- If the lock was caused by a previous crash or a stuck session, restarting can release it.
- Check whether the file is actually being edited elsewhere.
- If another user has it open, wait for them to close it.
- If only read-only access is available, Excel can allow viewing without editing.
- If the workbook is protected, protection may require a password to remove.
- In Excel, go to Review > Unprotect Sheet or Unprotect Workbook.
- If a password prompt appears and no password is known, the protection cannot be removed from within Excel.
- If the file is stored in OneDrive or SharePoint and only view access is available, request edit access.
- In Excel, select Viewing in the upper-right corner, then select Request more access.
- If co-authoring is involved, unsupported features can cause locked-file behavior.
- On Mac, Microsoft documents removing workbook protection, restricted access, refresh-on-open settings for tables or PivotTables, or disabling an Excel add-in if one is causing the lock.
Important distinction:
- Worksheet/workbook protection locks cells or structure and can require a password.
- File locked for editing is usually a temporary editing lock caused by another session, another user, or a crash.
If the issue started suddenly across multiple files, the most likely cause from the available guidance is a temporary editing lock or a stuck Excel session rather than manually applied protection.