Partager via


Les classeurs Excel au format XML ne s’ouvrent pas à partir de SharePoint

Cet article a été écrit par Warren Rath, ingénieur d’escalade de support.

Symptômes

Lorsque vous essayez d’ouvrir des classeurs Microsoft Excel au format XML (feuille de calcul XML 2003) à partir d’une bibliothèque de documents SharePoint, vous recevez l’erreur suivante :

Impossible d’effectuer cette action, car Office ne reconnaît pas la commande qui lui a été donnée.

Solution de contournement

Pour résoudre ce problème, utilisez les clés de Registre suivantes en fonction de la version et de la build de votre Office :

Avertissement

La modification du registre peut avoir des effets secondaires nuisibles si elle n’est pas effectuée propriété. Utilisez donc cette solution de contournement à vos propres risques.

32 bits d’Office 2013 (Microsoft Installer)

[HKEY_CLASSES_ROOT.xml\OpenWithList\excel.exe]

@=""

[HKEY_CLASSES_ROOT\Applications\excel.exe\shell\edit\command]

@=""C :\Program Files (x86)\Microsoft Office\Office15\EXCEL.EXE » /n « %1" »

[HKEY_CLASSES_ROOT\Applications\excel.exe\SupportedTypes]

« .xml"=" »

32 bits d’Office 2016 (Microsoft Installer)

[HKEY_CLASSES_ROOT.xml\OpenWithList\excel.exe]

@=""

[HKEY_CLASSES_ROOT\Applications\excel.exe\shell\edit\command]

@=""C :\Program Files\Microsoft Office\Office16\EXCEL.EXE » /n « %1" »

[HKEY_CLASSES_ROOT\Applications\excel.exe\SupportedTypes]

« .xml"=" »

64 bits d’Office 2016 (Microsoft Installer)

[HKEY_CLASSES_ROOT.xml\OpenWithList\excel.exe]

@=""

[HKEY_CLASSES_ROOT\Applications\excel.exe\shell\edit\command]

@=""C :\Program Files\Microsoft Office\Office16\EXCEL.EXE » /n « %1" »

[HKEY_CLASSES_ROOT\Applications\excel.exe\SupportedTypes]

« .xml"=" »

32 bits d’Office 2016 (Démarrer en un clic)

[HKEY_CLASSES_ROOT\Applications\Excel.exe]

« FriendlyAppName"="@C :\Program Files\Microsoft Office\root\VFS\ProgramFilesCommonX86\Microsoft Shared\Office16\oregres.dll,-206 »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell]

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\edit]

@="@C :\Program Files\Microsoft Office\root\VFS\ProgramFilesCommonX86\Microsoft Shared\Office16\oregres.dll,-1 »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\edit\command]

@=""C :\Program Files\Microsoft Office\root\Office16\EXCEL.EXE » /n « %1" »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\SupportedTypes]

« .xml"=" »

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Applications\excel.exe\shell\edit\command]

@=""C :\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE » /n « %1" »

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Applications\excel.exe\SupportedTypes]

« .xml"=" »

[HKEY_CLASSES_ROOT.xml\OpenWithList\Excel.exe]

@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes.xml\OpenWithList\excel.exe]

@=""

64 bits d’Office 2016 (Démarrer en un clic)

[HKEY_CLASSES_ROOT.xml\OpenWithList\Excel.exe]

@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes.xml\OpenWithList\excel.exe]

@=""

[HKEY_CLASSES_ROOT\Applications\Excel.exe]

« FriendlyAppName"="@C :\Program Files\Microsoft Office\root\VFS\ProgramFilesCommonX64\Microsoft Shared\Office16\oregres.dll,-206 »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell]

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\edit]

@="@C :\Program Files\Microsoft Office\root\VFS\ProgramFilesCommonX64\Microsoft Shared\Office16\oregres.dll,-1 »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\edit\command]

@=""C :\Program Files\Microsoft Office\root\Office16\EXCEL.EXE » /n « %1" »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\SupportedTypes]

« .xml"=" »

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Applications\excel.exe\shell\edit\command]

@=""C :\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE » /n « %1" »

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Applications\excel.exe\SupportedTypes]

« .xml"=" »