FIX: "Cannot be accessed. The file may be corrupted" Excel

You can also try a third-party file repair tool

Reading time icon 2 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • Using any other version of Office instead of the 64-bit version can cause this issue.
  • Also, an Excel file name that exceeds 17 characters seems to also provoke this problem for some users, so renaming the file will solve this issue.
microsoft excel cannot be accessed the file may be corrupted

The error message Cannot be accessed the file may be corrupted error in Microsoft Excel will prevent you from accessing your sheets.

This can be a big problem, especially if you’re working on an important project, but today we’ll show you how to fix this issue once and for all.

How can I fix Cannot be accessed the file may be corrupted Excel error?

1. Modify your registry

  1. Press Windows Key + R and enter regedit. Press Enter or click OK.
    regedit run window microsoft excel cannot be accessed the file may be corrupted
  2. Navigate to the following key
    • HKEY_CLASSES_ROOTExcel.Sheet.12shelledit
  3. Locate ddeexec and make sure that its value is set to [open(“%1”,,,,,,,,,,,,,,,,,0)].
  4. Check the command value and make sure its set to:
    • C:Program FilesMicrosoft OfficeOffice12Excel.exe” /dde

Note: Bear in mind that this path might be slightly different depending on the version of Office you’re using.

2. Make sure that you’re using the 64-bit version of Office

install 64-bit office microsoft excel cannot be accessed the file may be corrupted

If you’re getting Cannot be accessed the file may be corrupted error, perhaps you’re using a 32-bit version of Office on a 64-bit version of Windows.

This can sometimes be a problem, therefore we advise you to reinstall Office and make sure to install the 64-bit version on a 64-bit system.

In addition, make sure that your version of Office is up to date.

3. Check the filename of the Excel file

rename the file microsoft excel cannot be accessed the file may be corrupted

Apparently, the length of the file can cause Cannot be accessed the file may be corrupted error to appear.

It seems that this issue appears when your .xls or .xlsx file name exceeds 17 characters. To fix this issue, be sure to rename the file that is giving you this error and give it a shorter name.

Cannot be accessed the file may be corrupted Excel error can be problematic, but you should be able to fix it by modifying your registry or by renaming the problematic file.

If you found our article useful, let us know in the comments section below.

More about the topics: windows 10

User forum

5 messages